X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=49838a24cbfd6ed9746ae52557b5772c58a188ed;hb=3466e757691e2a07e2437d77167c78a0820c0431;hp=7453ecbfb1d4e496b39d9c8f5a267b3e9b7c8a9d;hpb=3c5dc3fbade52c4f8e707279cd3089c57210e241;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 7453ecbf..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,6 +65,7 @@ module.exports = defineConfig({ 'fibonacci', 'fp', 'fs', + 'func', 'inheritDoc', 'javascript', 'jsdoc', @@ -76,7 +80,8 @@ module.exports = defineConfig({ 'piscina', 'pnpm', 'poolifier', - 'poolify', + 'prepend', + 'prepends', 'readdir', 'readonly', 'req', @@ -91,8 +96,8 @@ module.exports = defineConfig({ 'typedoc', 'unlink', 'unref', - 'unregister', 'utf8', + 'webcrypto', 'workerpool', 'ws', 'wss', @@ -108,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', @@ -134,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' } @@ -149,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: {