X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=40f952b098ffe8c6fa993f7272c2b60060fc88fd;hb=375f7504cdd1e27b29c47f6a4ffc0669cab855f3;hp=c5a0992f8d22a7f445c28a80350aadeb53ad9e6f;hpb=fcb46565163bb679d3abdab62b44d736765935b5;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index c5a0992f..40f952b0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,7 +20,7 @@ module.exports = defineConfig({ settings: { 'import/resolver': { typescript: { - project: './tsconfig.eslint.json' + project: './tsconfig.json' } } }, @@ -37,6 +37,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'axios', 'benoit', 'benny', 'browserslist', @@ -47,8 +48,10 @@ module.exports = defineConfig({ 'comparator', 'cpu', 'cpus', + 'cryptographically', 'ctx', 'deprecations', + 'deque', 'dequeue', 'dequeued', 'ecma', @@ -57,22 +60,32 @@ module.exports = defineConfig({ 'enum', 'errored', 'esm', + 'fastify', 'fibonacci', + 'fp', 'fs', 'inheritDoc', + 'javascript', 'jsdoc', + 'localhost', 'microjob', 'mjs', + 'nodemailer', + 'npx', 'num', 'os', 'perf', 'piscina', 'pnpm', 'poolifier', - 'poolify', + 'prepend', + 'prepends', + 'readdir', 'readonly', + 'req', 'resize', 'sinon', + 'smtp', 'threadjs', 'threadwork', 'tinypool', @@ -83,7 +96,10 @@ module.exports = defineConfig({ 'unref', 'unregister', 'utf8', + 'webcrypto', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -96,7 +112,7 @@ module.exports = defineConfig({ plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'], parser: '@typescript-eslint/parser', parserOptions: { - project: './tsconfig.eslint.json' + project: './tsconfig.json' }, extends: [ 'plugin:@typescript-eslint/recommended', @@ -122,7 +138,9 @@ module.exports = defineConfig({ '@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/no-redundant-type-constituents': 'off', + '@typescript-eslint/strict-boolean-expressions': 'off', + '@typescript-eslint/return-await': 'off' } }, {