Skip to content

Commit

Permalink
maint/dev ~ 'warn' (instead of 'error') on unused ESLint comments
Browse files Browse the repository at this point in the history
- allows increased flexibility when using various automated quality analyzers
  • Loading branch information
rivy committed Jan 1, 2021
1 parent f16a74e commit 2229e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'eslint-comments/no-unused-disable': 'error',
'eslint-comments/no-unused-disable': 'warn',
'import/order': ['error', { 'newlines-between': 'always', alphabetize: { order: 'asc' } }],
'no-undefined': ['error'], // ref: https://eslint.org/docs/rules/no-undefined
'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], // ref: https://eslint.org/docs/rules/no-unused-vars
Expand Down

0 comments on commit 2229e6e

Please sign in to comment.