X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=9d0d7ce4cea3efda4777c7004a459cd307f8df57;hb=b22361f4474e4a63a7482741d98f0c58b4b03b4c;hp=a95cf1ae1ee0e2696294e2d3516acac166b298de;hpb=f58df60b2e083443a940af9ae07883a5568e84bf;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index a95cf1ae..9d0d7ce4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -132,7 +132,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 +178,6 @@ module.exports = defineConfig({ { files: ['examples/javascript/**/*.js'], rules: { - 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off' } }