Skip to content

Commit

Permalink
maint/dev ~ (fix) align ESLint config with Codacy QA rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Jan 1, 2021
1 parent 98020dc commit a5ec1b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'eslint-comments/no-unused-disable': 'warn',
'import/order': ['error', { 'newlines-between': 'always', alphabetize: { order: 'asc' } }],
'no-console': ['warn'], // ref: https://eslint.org/docs/rules/no-console
'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
'sort-imports': ['error', { ignoreDeclarationSort: true, ignoreCase: true }],
Expand Down

0 comments on commit a5ec1b5

Please sign in to comment.