Skip to content

Commit

Permalink
tweak eslint config for node files
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceMaes committed Aug 22, 2024
1 parent f1ac88a commit 62bd510
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,27 @@ module.exports = {
'ember/no-replace-test-comments': 'error',
},
},
// node files
{
parser: '@typescript-eslint/parser',
files: [
'./.eslintrc.js',
'./.prettierrc.js',
'./.stylelintrc.js',
'./.template-lintrc.js',
'./postcss.config.js',
'./ember-cli-build.js',
'./testem.js',
'./blueprints/*/index.js',
'./config/**/*.js',
'./lib/*/index.js',
'./server/**/*.js',
],
env: {
browser: false,
node: true,
},
extends: ['plugin:n/recommended'],
},
],
};

0 comments on commit 62bd510

Please sign in to comment.