X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=e2fc35b2c1264d4c08e5af3de0a3cc3fb36d924b;hb=2c554f901fef98264049ae8b831df8803e3e3619;hp=72a5f46faeb93e62aaee7a0c1e014c5027f3a655;hpb=7a923e5bc16ae3524c51bedd70c65ce6cc556fdc;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 72a5f46f..e2fc35b2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,6 +37,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'axios', 'benoit', 'benny', 'browserslist', @@ -57,12 +58,17 @@ module.exports = defineConfig({ 'enum', 'errored', 'esm', + 'fastify', 'fibonacci', + 'fp', 'fs', 'inheritDoc', + 'javascript', 'jsdoc', + 'localhost', 'microjob', 'mjs', + 'npx', 'num', 'os', 'perf', @@ -70,7 +76,9 @@ module.exports = defineConfig({ 'pnpm', 'poolifier', 'poolify', + 'readdir', 'readonly', + 'req', 'resize', 'sinon', 'threadjs', @@ -84,6 +92,8 @@ module.exports = defineConfig({ 'unregister', 'utf8', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -118,10 +128,12 @@ module.exports = defineConfig({ 'import/no-unresolved': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unnecessary-type-assertion': 'off', - '@typescript-eslint/restrict-template-expressions': 'off' + '@typescript-eslint/strict-boolean-expressions': 'off', + '@typescript-eslint/return-await': 'off' } }, {