X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=e7cf2abcc1d1675b515422747866e702389b1779;hb=df7349e2151c2e46d0bf2c406a5d8bd14d1ed2bf;hp=b547ed1909badd738d831ccf1b70af4fe1001af0;hpb=494d95768b60ef86e7b64ee1e508198e0605f7b4;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index b547ed19..e7cf2abc 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,6 +37,7 @@ module.exports = defineConfig({ 'warn', { skipWords: [ + 'axios', 'benoit', 'benny', 'browserslist', @@ -49,6 +50,7 @@ module.exports = defineConfig({ 'cpus', 'ctx', 'deprecations', + 'deque', 'dequeue', 'dequeued', 'ecma', @@ -57,22 +59,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', @@ -84,6 +96,8 @@ module.exports = defineConfig({ 'unregister', 'utf8', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -115,9 +129,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/no-redundant-type-constituents': 'off', + '@typescript-eslint/strict-boolean-expressions': 'off', + '@typescript-eslint/return-await': 'off' } }, { @@ -157,7 +178,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off'