Skip to content

Commit

Permalink
Enforce no-console in serverjs and routes.
Browse files Browse the repository at this point in the history
  • Loading branch information
phulin committed Feb 16, 2020
1 parent 0710805 commit 7cffbeb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ settings:
webpack:
config: webpack.dev.js
rules:
# prettier/prettier:
# - error
prettier/prettier: error
no-console: off
global-require: off
no-param-reassign: off
Expand Down Expand Up @@ -49,3 +48,6 @@ overrides:
no-restricted-imports:
- error
- patterns: ['./*', '../*']
- files: ['routes/**', 'serverjs/**']
rules:
no-console: error

0 comments on commit 7cffbeb

Please sign in to comment.