From 54050139c00c7b06aaf0d1223339823bdf8f5dc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 30 May 2024 22:36:42 +0200 Subject: [PATCH] fix(ci): silence linter, take 2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- eslint.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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', }, }, -- 2.34.1