chore: cleanup eslint configuration
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Aug 2024 23:51:23 +0000 (01:51 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 1 Aug 2024 23:51:23 +0000 (01:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js

index 4d9a1111260e121ac83c5bb5d89932e3fab63343..7711b2b56a15e78378e7385d077800bfc1a3e409 100644 (file)
@@ -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,