From: Jérôme Benoit Date: Thu, 30 May 2024 20:36:42 +0000 (+0200) Subject: fix(ci): silence linter, take 2 X-Git-Tag: v4.0.14~38 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=54050139c00c7b06aaf0d1223339823bdf8f5dc8;p=poolifier.git fix(ci): silence linter, take 2 Signed-off-by: Jérôme Benoit --- diff --git a/eslint.config.js b/eslint.config.js index 0f1bd02e..88be9a70 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -47,7 +47,12 @@ export default defineFlatConfig([ files: ['examples/**/*.js', 'examples/**/*.cjs'], rules: { 'no-undef': 'off', - 'n/no-missing-import': 'off', + 'n/no-missing-import': [ + 'error', + { + allowModules: ['ws'], + }, + ], '@typescript-eslint/no-require-imports': 'off', }, },