chore: configure vscode eslint for flat config
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 14 Jun 2024 21:07:11 +0000 (23:07 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 14 Jun 2024 21:07:11 +0000 (23:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.vscode/settings.json

index 08c54e2dfe43c9347f11fbd143aaadf9c1b60ba9..8d91121992a8022373d2848988de8c96e13675f7 100644 (file)
@@ -2,6 +2,8 @@
   "editor.codeActionsOnSave": {
     "source.fixAll": "explicit"
   },
+  // enable flat config files (eslint.config.*js)
+  "eslint.experimental.useFlatConfig": true,
   "cSpell.words": [
     "benoit",
     "biomejs",