X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=49838a24cbfd6ed9746ae52557b5772c58a188ed;hb=refs%2Ftags%2Fv2.7.4;hp=e2fc35b2c1264d4c08e5af3de0a3cc3fb36d924b;hpb=02999424382a7c531bcc2c0485d4ebbe76853d62;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index e2fc35b2..49838a24 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,7 +20,7 @@ module.exports = defineConfig({ settings: { 'import/resolver': { typescript: { - project: './tsconfig.eslint.json' + project: './tsconfig.json' } } }, @@ -39,7 +39,6 @@ module.exports = defineConfig({ skipWords: [ 'axios', 'benoit', - 'benny', 'browserslist', 'builtins', 'christopher', @@ -48,10 +47,14 @@ module.exports = defineConfig({ 'comparator', 'cpu', 'cpus', + 'cryptographically', 'ctx', 'deprecations', + 'deque', 'dequeue', 'dequeued', + 'deregisters', + 'dts', 'ecma', 'elu', 'enqueue', @@ -62,12 +65,14 @@ module.exports = defineConfig({ 'fibonacci', 'fp', 'fs', + 'func', 'inheritDoc', 'javascript', 'jsdoc', 'localhost', 'microjob', 'mjs', + 'nodemailer', 'npx', 'num', 'os', @@ -75,12 +80,14 @@ module.exports = defineConfig({ 'piscina', 'pnpm', 'poolifier', - 'poolify', + 'prepend', + 'prepends', 'readdir', 'readonly', 'req', 'resize', 'sinon', + 'smtp', 'threadjs', 'threadwork', 'tinypool', @@ -89,8 +96,8 @@ module.exports = defineConfig({ 'typedoc', 'unlink', 'unref', - 'unregister', 'utf8', + 'webcrypto', 'workerpool', 'ws', 'wss', @@ -106,7 +113,7 @@ module.exports = defineConfig({ plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'], parser: '@typescript-eslint/parser', parserOptions: { - project: './tsconfig.eslint.json' + project: './tsconfig.json' }, extends: [ 'plugin:@typescript-eslint/recommended', @@ -132,6 +139,7 @@ module.exports = defineConfig({ '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unnecessary-type-assertion': 'off', + '@typescript-eslint/no-redundant-type-constituents': 'off', '@typescript-eslint/strict-boolean-expressions': 'off', '@typescript-eslint/return-await': 'off' } @@ -147,31 +155,12 @@ module.exports = defineConfig({ '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: {