X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=ff5c0f762a27a0eca3a9e12489bdb32d5aede4fe;hb=b3432a63039e7cb70c0448da5518690e457cd47e;hp=c251c5a5a1bd3f38f530c89f1cad94fbdebf8f13;hpb=a76fac14098cf2138cf8d6997ac7c89d8c3ae508;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index c251c5a5..ff5c0f76 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,6 +7,10 @@ module.exports = defineConfig({ node: true, mocha: true }, + parserOptions: { + ecmaVersion: 2021, + sourceType: 'module' + }, plugins: ['promise', 'prettierx', 'jsdoc', 'spellcheck'], extends: [ 'standard', @@ -54,8 +58,6 @@ module.exports = defineConfig({ files: ['**/*.ts'], parser: '@typescript-eslint/parser', parserOptions: { - ecmaVersion: 2020, - sourceType: 'module', project: './tsconfig.json' }, plugins: ['@typescript-eslint'], @@ -118,6 +120,13 @@ module.exports = defineConfig({ 'jsdoc/require-jsdoc': 'off' } }, + { + files: ['tests/pools/selection-strategies/**/*.js'], + rules: { + 'node/no-missing-require': 'off', + 'jsdoc/require-jsdoc': 'off' + } + }, { files: ['benchmarks/**/*.js'], rules: {