X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=a95cf1ae1ee0e2696294e2d3516acac166b298de;hb=36d5c14a9aa8d27c12887bd5690f1e06f6bf47bc;hp=4f57c1e21608a81ee836fc80d2122ed97881602a;hpb=dad86fd8ee5671821dff22ecfff5b043f61c0a79;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 4f57c1e2..a95cf1ae 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -65,6 +65,7 @@ module.exports = defineConfig({ 'fibonacci', 'fp', 'fs', + 'func', 'inheritDoc', 'javascript', 'jsdoc', @@ -149,36 +150,17 @@ module.exports = defineConfig({ extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard'] }, { - files: ['tests/**/*.js'], + files: ['tests/**/*.js', 'tests/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } }, - { - files: ['tests/pools/selection-strategies/**/*.js'], - rules: { - 'n/no-missing-require': 'off' - } - }, { files: ['benchmarks/**/*.js', 'benchmarks/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } }, - { - files: ['benchmarks/versus-external-pools/**/*.js'], - rules: { - 'n/no-missing-require': 'off' - } - }, - { - files: ['benchmarks/versus-external-pools/**/*.mjs'], - rules: { - 'n/no-missing-import': 'off', - 'import/no-unresolved': 'off' - } - }, { files: ['examples/javascript/**/*.js'], rules: {