From: Jérôme Benoit Date: Fri, 31 May 2024 14:38:47 +0000 (+0200) Subject: build(ci): silence linter in examples X-Git-Tag: v4.0.14~31 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=12c527c5cc57ef94ee1753a7e7a800838a6357ca;p=poolifier.git build(ci): silence linter in examples Signed-off-by: Jérôme Benoit --- 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: {