X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=eslint.config.js;h=a736889210e5a3de77eae0564d0bdf1fb7c8cd85;hb=8ab143bb67ef7fb367d771c652cc44df70c9b625;hp=4b1c621a05269051d3476712155a562a754a407a;hpb=12c527c5cc57ef94ee1753a7e7a800838a6357ca;p=poolifier.git diff --git a/eslint.config.js b/eslint.config.js index 4b1c621a..a7368892 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,6 +17,17 @@ export default defineFlatConfig([ js.configs.recommended, ...nodePlugin.configs['flat/mixed-esm-and-cjs'], jsdoc.configs['flat/recommended-typescript'], + { + rules: { + 'jsdoc/check-tag-names': [ + 'warn', + { + typed: true, + definedTags: ['defaultValue', 'experimental', 'typeParam'], + }, + ], + }, + }, ...tseslint.config( ...tseslint.configs.strictTypeChecked, ...tseslint.configs.stylisticTypeChecked @@ -79,9 +90,13 @@ export default defineFlatConfig([ { 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', }, }, {