Skip to content

chore: warn on console usage in eslint#187

Open
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:eslint-no-console-109
Open

chore: warn on console usage in eslint#187
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:eslint-no-console-109

Conversation

@huazhuang80-star

Copy link
Copy Markdown

Summary

  • enable
    o-console as a warning in the root, backend, frontend, and mobile ESLint configs
  • allow console.warn and console.error while flagging ad hoc logs
  • disable the rule for tests, seed scripts, usage examples, and other dev-only script paths

Fixes #109

Testing

  • git diff --check

ode --check .eslintrc.js

ode --check app/backend/eslint.config.mjs

ode --check app/frontend/eslint.config.mjs

ode --check app/mobile/eslint.config.js

  • Not run: full lint because
    ode_modules is not installed in this checkout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MEDIUM] Enable no-console ESLint rule with appropriate overrides

1 participant