X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=e421cd282cf758417b1609b6a887f4335619b708;hb=c5d47229f35869b56a271612ef3fde64dd31c884;hp=d7004cc55ff8460161f54f766086dd78d7612eb8;hpb=557991e8ddb66a72a47d62606e142e8be86677f2;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index d7004cc5..e421cd28 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -43,6 +43,7 @@ module.exports = defineConfig({ 'builtins', 'christopher', 'cjs', + 'cloneable', 'comparator', 'cpu', 'cpus', @@ -51,6 +52,7 @@ module.exports = defineConfig({ 'dequeue', 'dequeued', 'ecma', + 'elu', 'enqueue', 'enum', 'errored', @@ -63,16 +65,17 @@ module.exports = defineConfig({ 'mjs', 'num', 'os', + 'perf', 'piscina', 'pnpm', 'poolifier', 'poolify', 'readonly', 'resize', - 'serializable', 'sinon', 'threadjs', 'threadwork', + 'tinypool', 'tsconfig', 'tsdoc', 'typedoc', @@ -135,7 +138,7 @@ module.exports = defineConfig({ } }, { - files: ['benchmarks/**/*.js'], + files: ['benchmarks/**/*.js', 'benchmarks/**/*.mjs'], rules: { 'jsdoc/require-jsdoc': 'off' } @@ -146,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: {