From: Jérôme Benoit Date: Thu, 5 Oct 2023 15:15:03 +0000 (+0200) Subject: build: refine eslint configuration X-Git-Tag: v3.0.0~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2b59e5db3fd89d0b75ccfa2695c946519740d896;p=poolifier.git build: refine eslint configuration Signed-off-by: Jérôme Benoit --- diff --git a/.eslintrc.js b/.eslintrc.js index a95cf1ae..7f96f587 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -132,7 +132,7 @@ module.exports = defineConfig({ { files: ['examples/typescript/**/*.ts'], rules: { - 'import/no-unresolved': 'off', + 'import/no-unresolved': ['error', { ignore: ['^poolifier$'] }], '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-return': 'off', @@ -164,7 +164,6 @@ module.exports = defineConfig({ { files: ['examples/javascript/**/*.js'], rules: { - 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off' } }