X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=c4f0c6d26777bb3cf6710aac51448dce92372577;hb=4dce520ecdc24e12d96060c02869b37723d8a206;hp=cf1544ffba2a53d46373303c68bce80bbe921db6;hpb=30eafb1efdb656c3651d5a1733f06f1327f71bd4;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index cf1544ff..c4f0c6d2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,3 @@ -// @ts-check const { defineConfig } = require('eslint-define-config') module.exports = defineConfig({ @@ -31,6 +30,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'Benoit', 'benny', 'browserslist', 'builtins', @@ -41,8 +41,11 @@ module.exports = defineConfig({ 'cpus', 'ctx', 'deprecations', + 'dequeue', 'ecma', + 'enqueue', 'enum', + 'errored', 'esm', 'fibonacci', 'fs', @@ -53,9 +56,11 @@ module.exports = defineConfig({ 'num', 'os', 'piscina', + 'pnpm', 'poolifier', 'poolify', 'readonly', + 'resize', 'serializable', 'sinon', 'threadjs', @@ -66,7 +71,8 @@ module.exports = defineConfig({ 'unlink', 'unregister', 'utf8', - 'workerpool' + 'workerpool', + 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] } @@ -78,7 +84,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', @@ -92,7 +98,7 @@ module.exports = defineConfig({ 'error', { ignoreProperties: true } ], - 'tsdoc/syntax': 'error' + 'tsdoc/syntax': 'warn' } }, {