X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.eslintrc.js;h=c4f0c6d26777bb3cf6710aac51448dce92372577;hb=4dce520ecdc24e12d96060c02869b37723d8a206;hp=0987025540001c47debfb418c2cac1b5b7b57178;hpb=8d75fd5f50534b71bd14bdb6a01cb4b2cebaf6ef;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 09870255..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', @@ -57,6 +60,7 @@ module.exports = defineConfig({ 'poolifier', 'poolify', 'readonly', + 'resize', 'serializable', 'sinon', 'threadjs', @@ -67,7 +71,8 @@ module.exports = defineConfig({ 'unlink', 'unregister', 'utf8', - 'workerpool' + 'workerpool', + 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] } @@ -79,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', @@ -93,7 +98,7 @@ module.exports = defineConfig({ 'error', { ignoreProperties: true } ], - 'tsdoc/syntax': 'error' + 'tsdoc/syntax': 'warn' } }, {