From: Jérôme Benoit Date: Fri, 31 May 2024 10:14:44 +0000 (+0200) Subject: build: fix eslint configuration with type checking X-Git-Tag: v4.0.14~33 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=260bb73734384fc982006e15359ca1c43463cc55;p=poolifier.git build: fix eslint configuration with type checking Signed-off-by: Jérôme Benoit --- diff --git a/eslint.config.js b/eslint.config.js index 8666f4c4..e0fa23c6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,7 +17,6 @@ export default defineFlatConfig([ js.configs.recommended, ...nodePlugin.configs['flat/mixed-esm-and-cjs'], jsdoc.configs['flat/recommended-typescript'], - // ...tseslint.config(...tseslint.configs.strictTypeChecked, ...tseslint.configs.stylisticTypeChecked), ...tseslint.config(...tseslint.configs.strict, ...tseslint.configs.stylistic), ...neostandard({ ts: true, @@ -26,6 +25,18 @@ export default defineFlatConfig([ ...globals.mocha, }, }), + // ...tseslint.config( + // ...tseslint.configs.strictTypeChecked, + // ...tseslint.configs.stylisticTypeChecked, + // { + // languageOptions: { + // parserOptions: { + // project: true, + // tsconfigRootDir: import.meta.dirname, + // }, + // }, + // } + // ), { plugins: { 'simple-import-sort': simpleImportSort,