X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=44b9c5d292ec749151288997c2f578797c78564a;hb=6cbae9fd636239a8a1c668fd1f70c31093c5d6e2;hp=6e20d78ffeda55d04643a7d2bcdf3ccd5609f453;hpb=dcd9851c015e556ed0509744c5459ba3f16bff7c;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 6e20d78f..44b9c5d2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,7 +37,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ - 'Benoit', + 'benoit', 'benny', 'browserslist', 'builtins', @@ -57,7 +57,9 @@ module.exports = defineConfig({ 'enum', 'errored', 'esm', + 'fastify', 'fibonacci', + 'fp', 'fs', 'inheritDoc', 'jsdoc', @@ -71,6 +73,7 @@ module.exports = defineConfig({ 'poolifier', 'poolify', 'readonly', + 'req', 'resize', 'sinon', 'threadjs', @@ -115,9 +118,16 @@ module.exports = defineConfig({ { files: ['examples/typescript/**/*.ts'], rules: { + 'import/no-unresolved': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', - '@typescript-eslint/no-unsafe-assignment': '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/strict-boolean-expressions': 'off', + '@typescript-eslint/restrict-template-expressions': 'off', + '@typescript-eslint/return-await': 'off' } }, { @@ -157,7 +167,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off'