Skip to content

Commit

Permalink
style: harmonize eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
c100k committed Aug 27, 2024
1 parent 5fb77c5 commit ac5d0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
files: ['*.json'],
rules: {
'sort-keys': 'off',
'unicorn/numeric-separators-style': 'off',
},
},
{
Expand Down Expand Up @@ -43,14 +44,13 @@ module.exports = {
'unicorn',
],
rules: {
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/explicit-member-accessibility': 'error',
// https://github.com/typescript-eslint/typescript-eslint/issues/2483#issuecomment-687095358
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
caughtErrors: 'none',
varsIgnorePattern: '^_',
},
],
Expand Down

0 comments on commit ac5d0ec

Please sign in to comment.