docs: refine README.md
[poolifier.git] / .eslintrc.js
index 0987025540001c47debfb418c2cac1b5b7b57178..c4f0c6d26777bb3cf6710aac51448dce92372577 100644 (file)
@@ -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'
       }
     },
     {