X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=8af594dfe56ce4605af1dcca6e5ee12477fd778f;hb=e086774391eea764c69987db75d45ed86ec5fe22;hp=a95cf1ae1ee0e2696294e2d3516acac166b298de;hpb=f58df60b2e083443a940af9ae07883a5568e84bf;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index a95cf1ae..8af594df 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -97,7 +97,6 @@ module.exports = defineConfig({ 'unlink', 'unref', 'utf8', - 'webcrypto', 'workerpool', 'ws', 'wss', @@ -132,7 +131,21 @@ module.exports = defineConfig({ { files: ['examples/typescript/**/*.ts'], rules: { - 'import/no-unresolved': 'off', + 'import/no-unresolved': [ + 'error', + { + ignore: [ + '^axios$', + '^express$', + '^fastify$', + '^fastify-plugin$', + '^node-fetch$', + '^nodemailer$', + '^poolifier$', + '^ws$' + ] + } + ], '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-return': 'off', @@ -164,7 +177,6 @@ module.exports = defineConfig({ { files: ['examples/javascript/**/*.js'], rules: { - 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off' } }