X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=8af594dfe56ce4605af1dcca6e5ee12477fd778f;hb=c02dd5c31cb3ec023721a8564e0c1a1540929226;hp=7f96f5872143cbf5807a809f45630f64a8a6fbce;hpb=493b2735fb0a4d4e5c6d855002303bd65bc5382f;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 7f96f587..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': ['error', { ignore: ['^poolifier$'] }], + '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',