From 12c527c5cc57ef94ee1753a7e7a800838a6357ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 31 May 2024 16:38:47 +0200 Subject: [PATCH] build(ci): silence linter in examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- eslint.config.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 8a100a1a..4b1c621a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -76,12 +76,14 @@ export default defineFlatConfig([ ...tseslint.configs.disableTypeChecked, }, // examples specific configuration - // { - // files: ['examples/**/*.ts'], - // rules: { - // 'no-undef': 'off', - // }, - // }, + { + files: ['examples/**/*.ts'], + rules: { + '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + }, + }, { files: ['examples/**/*.js', 'examples/**/*.cjs'], rules: { -- 2.34.1