X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=952d603a43f635a5c40f8149a4dabbf26cddc166;hb=aa1e0433fcfdc47175d6144524bcda57ab2947a1;hp=d640b896f75606df37aff753e6b9cf833f41fb2c;hpb=219d4044243f9faf9bdf2474c3484012dfa0fb89;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index d640b896..952d603a 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' } } }, @@ -48,10 +48,13 @@ module.exports = defineConfig({ 'comparator', 'cpu', 'cpus', + 'cryptographically', 'ctx', 'deprecations', + 'deque', 'dequeue', 'dequeued', + 'dts', 'ecma', 'elu', 'enqueue', @@ -63,9 +66,12 @@ module.exports = defineConfig({ 'fp', 'fs', 'inheritDoc', + 'javascript', 'jsdoc', + 'localhost', 'microjob', 'mjs', + 'nodemailer', 'npx', 'num', 'os', @@ -73,11 +79,14 @@ module.exports = defineConfig({ 'piscina', 'pnpm', 'poolifier', - 'poolify', + 'prepend', + 'prepends', + 'readdir', 'readonly', 'req', 'resize', 'sinon', + 'smtp', 'threadjs', 'threadwork', 'tinypool', @@ -88,7 +97,10 @@ module.exports = defineConfig({ 'unref', 'unregister', 'utf8', + 'webcrypto', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -101,7 +113,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', @@ -120,16 +132,16 @@ module.exports = defineConfig({ { files: ['examples/typescript/**/*.ts'], rules: { - // 'import/no-unresolved': 'off', - // '@typescript-eslint/no-unsafe-argument': 'off', + 'import/no-unresolved': 'off', + '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', - // '@typescript-eslint/no-unsafe-return': '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' + '@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' } }, {