X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=eslint.config.js;h=67eb035ecc938597a02c8ed0561dd4fc1dc80601;hb=2efc445b630bfe0b55b843eb3d5c6025115b587c;hp=8a100a1a51fce7e7377972a62362ed32f6a6e5fc;hpb=6e5d7052fe741b50e68f8614b33d3754be41415f;p=poolifier.git diff --git a/eslint.config.js b/eslint.config.js index 8a100a1a..67eb035e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -76,12 +76,18 @@ export default defineFlatConfig([ ...tseslint.configs.disableTypeChecked, }, // examples specific configuration - // { - // files: ['examples/**/*.ts'], - // rules: { - // 'no-undef': 'off', - // }, - // }, + { + files: ['examples/**/*.ts'], + rules: { + '@typescript-eslint/no-unsafe-argument': 'off', + '@typescript-eslint/no-unsafe-call': 'off', + '@typescript-eslint/no-unsafe-return': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + '@typescript-eslint/no-unnecessary-type-assertion': 'off', + '@typescript-eslint/no-redundant-type-constituents': 'off', + }, + }, { files: ['examples/**/*.js', 'examples/**/*.cjs'], rules: {