X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=.eslintrc.js;h=44b9c5d292ec749151288997c2f578797c78564a;hb=6cbae9fd636239a8a1c668fd1f70c31093c5d6e2;hp=f981727ab3800ebe3efd391953978767f5e4b162;hpb=20e062f4c4594811bb111cb0d5d718a65de54d17;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index f981727a..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', @@ -80,6 +83,7 @@ module.exports = defineConfig({ 'tsdoc', 'typedoc', 'unlink', + 'unref', 'unregister', 'utf8', 'workerpool', @@ -114,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' } }, { @@ -156,7 +167,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off'