X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.eslintrc.js;h=c5784c0f286cac8f39b921950a6ae437e2a88e8e;hb=b2b02b3dade2a6fe409865e05c11ed20e466c920;hp=d7004cc55ff8460161f54f766086dd78d7612eb8;hpb=3db6a2b42ee697b6f587b0f41020771941a65e68;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index d7004cc5..c5784c0f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,12 +37,13 @@ module.exports = defineConfig({ 'warn', { skipWords: [ - 'Benoit', + 'benoit', 'benny', 'browserslist', 'builtins', 'christopher', 'cjs', + 'cloneable', 'comparator', 'cpu', 'cpus', @@ -51,6 +52,7 @@ module.exports = defineConfig({ 'dequeue', 'dequeued', 'ecma', + 'elu', 'enqueue', 'enum', 'errored', @@ -63,20 +65,22 @@ module.exports = defineConfig({ 'mjs', 'num', 'os', + 'perf', 'piscina', 'pnpm', 'poolifier', 'poolify', 'readonly', 'resize', - 'serializable', 'sinon', 'threadjs', 'threadwork', + 'tinypool', 'tsconfig', 'tsdoc', 'typedoc', 'unlink', + 'unref', 'unregister', 'utf8', 'workerpool', @@ -95,7 +99,6 @@ module.exports = defineConfig({ project: './tsconfig.eslint.json' }, extends: [ - 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:import/typescript', @@ -112,9 +115,13 @@ module.exports = defineConfig({ { files: ['examples/typescript/**/*.ts'], rules: { + 'import/no-unresolved': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', - '@typescript-eslint/no-unsafe-assignment': 'off' + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + '@typescript-eslint/no-unnecessary-type-assertion': 'off', + '@typescript-eslint/restrict-template-expressions': 'off' } }, { @@ -135,7 +142,7 @@ module.exports = defineConfig({ } }, { - files: ['benchmarks/**/*.js'], + files: ['benchmarks/**/*.js', 'benchmarks/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } @@ -146,6 +153,13 @@ module.exports = defineConfig({ 'n/no-missing-require': 'off' } }, + { + files: ['benchmarks/versus-external-pools/**/*.mjs'], + rules: { + 'n/no-missing-import': 'off', + 'import/no-unresolved': 'off' + } + }, { files: ['examples/**/*.js'], rules: {