Skip to content

Commit

Permalink
fix: Add special rules for eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Aug 11, 2024
1 parent 2e3aaf9 commit d9ce449
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions eslint-common-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ module.exports = {
'@gravity-ui/eslint-config',
process.env.npm_command && '@gravity-ui/eslint-config/prettier',
].filter(Boolean),
parserOptions: {
project: ["./tsconfig.json"]
},
overrides: [{
files: ['.eslintrc.js'],
env: {
node: true,
},
}],
rules: {
'callback-return': 'off',
'consistent-return': 'off',
Expand Down

0 comments on commit d9ce449

Please sign in to comment.