X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=80dcda2b7212d88878c7f2f65b426896e9a02a99;hb=4c15652154b608102bae65165dfa151f91569151;hp=2e396436b0d6d4c95af5a4764cb024fe2d1016ef;hpb=fe18768dfcb34de4cce12a7dfd1abd2b92e8d8ce;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 2e396436..80dcda2b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -31,6 +31,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'Benoit', 'benny', 'browserslist', 'builtins', @@ -40,8 +41,12 @@ module.exports = defineConfig({ 'cpu', 'cpus', 'ctx', + 'deprecations', + 'dequeue', 'ecma', + 'enqueue', 'enum', + 'errored', 'esm', 'fibonacci', 'fs', @@ -52,9 +57,11 @@ module.exports = defineConfig({ 'num', 'os', 'piscina', + 'pnpm', 'poolifier', 'poolify', 'readonly', + 'resize', 'serializable', 'sinon', 'threadjs', @@ -65,7 +72,8 @@ module.exports = defineConfig({ 'unlink', 'unregister', 'utf8', - 'workerpool' + 'workerpool', + 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] } @@ -77,7 +85,7 @@ module.exports = defineConfig({ plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'], parser: '@typescript-eslint/parser', parserOptions: { - project: './tsconfig.json' + project: './tsconfig.eslint.json' }, extends: [ 'plugin:@typescript-eslint/eslint-recommended', @@ -91,7 +99,7 @@ module.exports = defineConfig({ 'error', { ignoreProperties: true } ], - 'tsdoc/syntax': 'error' + 'tsdoc/syntax': 'warn' } }, { @@ -104,7 +112,7 @@ module.exports = defineConfig({ } }, { - files: ['**/*.js'], + files: ['**/*.js', '**/*.mjs'], plugins: ['jsdoc'], extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard'] },