X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=7453ecbfb1d4e496b39d9c8f5a267b3e9b7c8a9d;hb=3c5dc3fbade52c4f8e707279cd3089c57210e241;hp=d640b896f75606df37aff753e6b9cf833f41fb2c;hpb=219d4044243f9faf9bdf2474c3484012dfa0fb89;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index d640b896..7453ecbf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -63,9 +63,12 @@ module.exports = defineConfig({ 'fp', 'fs', 'inheritDoc', + 'javascript', 'jsdoc', + 'localhost', 'microjob', 'mjs', + 'nodemailer', 'npx', 'num', 'os', @@ -74,10 +77,12 @@ module.exports = defineConfig({ 'pnpm', 'poolifier', 'poolify', + 'readdir', 'readonly', 'req', 'resize', 'sinon', + 'smtp', 'threadjs', 'threadwork', 'tinypool', @@ -89,6 +94,8 @@ module.exports = defineConfig({ 'unregister', 'utf8', 'workerpool', + 'ws', + 'wss', 'wwr' ], skipIfMatch: ['^@.*', '^plugin:.*'] @@ -120,16 +127,15 @@ 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/strict-boolean-expressions': 'off', + '@typescript-eslint/return-await': 'off' } }, {