From: Jérôme Benoit Date: Thu, 1 Aug 2024 23:51:23 +0000 (+0200) Subject: chore: cleanup eslint configuration X-Git-Tag: v4.2.0~24 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d234cbcb43bf08f6c114f8c723a0f6e6f273ea30;p=poolifier.git chore: cleanup eslint configuration Signed-off-by: Jérôme Benoit --- diff --git a/eslint.config.js b/eslint.config.js index 4d9a1111..7711b2b5 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -28,16 +28,16 @@ export default defineFlatConfig([ }, ...plugins['typescript-eslint'].config( ...plugins['typescript-eslint'].configs.strictTypeChecked, - ...plugins['typescript-eslint'].configs.stylisticTypeChecked - ), - { - languageOptions: { - parserOptions: { - projectService: true, - tsconfigRootDir: import.meta.dirname, + ...plugins['typescript-eslint'].configs.stylisticTypeChecked, + { + languageOptions: { + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, }, - }, - }, + } + ), { files: ['**/*.js', '**/*.mjs', '**/*.cjs'], ...plugins['typescript-eslint'].configs.disableTypeChecked,