X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=7453ecbfb1d4e496b39d9c8f5a267b3e9b7c8a9d;hb=fd13902fd959335e2c0f95d1b464317a2da8b6cf;hp=f981727ab3800ebe3efd391953978767f5e4b162;hpb=289b1c7029d4b38f42b6fb02ed0a4766bb59b7c8;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index f981727a..7453ecbf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,7 +37,8 @@ module.exports = defineConfig({ 'warn', { skipWords: [ - 'Benoit', + 'axios', + 'benoit', 'benny', 'browserslist', 'builtins', @@ -57,12 +58,18 @@ module.exports = defineConfig({ 'enum', 'errored', 'esm', + 'fastify', 'fibonacci', + 'fp', 'fs', 'inheritDoc', + 'javascript', 'jsdoc', + 'localhost', 'microjob', 'mjs', + 'nodemailer', + 'npx', 'num', 'os', 'perf', @@ -70,9 +77,12 @@ module.exports = defineConfig({ 'pnpm', 'poolifier', 'poolify', + 'readdir', 'readonly', + 'req', 'resize', 'sinon', + 'smtp', 'threadjs', 'threadwork', 'tinypool', @@ -80,9 +90,12 @@ module.exports = defineConfig({ 'tsdoc', 'typedoc', 'unlink', + 'unref', 'unregister', 'utf8', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -114,9 +127,15 @@ 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/return-await': 'off' } }, { @@ -156,7 +175,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off'