X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=523f20f8c389d47b15b3b45d5072bad47e31c507;hb=637100d9f7507bb89a42120c7dec2f0db688b1a5;hp=c5784c0f286cac8f39b921950a6ae437e2a88e8e;hpb=a93426dcf91e5cd2ff0182d379d91ca18af1a2cd;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index c5784c0f..523f20f8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,6 +37,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'axios', 'benoit', 'benny', 'browserslist', @@ -57,12 +58,15 @@ module.exports = defineConfig({ 'enum', 'errored', 'esm', + 'fastify', 'fibonacci', + 'fp', 'fs', 'inheritDoc', 'jsdoc', 'microjob', 'mjs', + 'npx', 'num', 'os', 'perf', @@ -71,6 +75,7 @@ module.exports = defineConfig({ 'poolifier', 'poolify', 'readonly', + 'req', 'resize', 'sinon', 'threadjs', @@ -118,10 +123,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' } }, { @@ -161,7 +168,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off'