X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.eslintrc.js;h=c1e571d5fda56bf1c550cac7c0c4e78fa3712239;hb=96f8e6b29466ced347e1a317a1864a136ed6a5ab;hp=7f96f5872143cbf5807a809f45630f64a8a6fbce;hpb=493b2735fb0a4d4e5c6d855002303bd65bc5382f;p=poolifier.git diff --git a/.eslintrc.js b/.eslintrc.js index 7f96f587..c1e571d5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -97,7 +97,6 @@ module.exports = defineConfig({ 'unlink', 'unref', 'utf8', - 'webcrypto', 'workerpool', 'ws', 'wss', @@ -122,17 +121,28 @@ module.exports = defineConfig({ 'standard-with-typescript' ], rules: { - '@typescript-eslint/no-inferrable-types': [ - 'error', - { ignoreProperties: true } - ], + '@typescript-eslint/non-nullable-type-assertion-style': 'off', 'tsdoc/syntax': 'warn' } }, { 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',