X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=b547ed1909badd738d831ccf1b70af4fe1001af0;hb=52b71763f1a1240170e777049a80df0ad14ce496;hp=5845044780d7fdcee92dd5419fe725857bcf3ec4;hpb=b70e9c5e0a74918b454e038ce1b56868f4f59d6e;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 58450447..b547ed19 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,19 +37,22 @@ module.exports = defineConfig({ 'warn', { skipWords: [ - 'Benoit', + 'benoit', 'benny', 'browserslist', 'builtins', 'christopher', 'cjs', + 'cloneable', 'comparator', 'cpu', 'cpus', 'ctx', 'deprecations', 'dequeue', + 'dequeued', 'ecma', + 'elu', 'enqueue', 'enum', 'errored', @@ -62,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', @@ -94,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', @@ -134,7 +138,7 @@ module.exports = defineConfig({ } }, { - files: ['benchmarks/**/*.js'], + files: ['benchmarks/**/*.js', 'benchmarks/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } @@ -145,6 +149,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: {