Quellcode durchsuchen

Add ts(x) file extensions to ESLint config for frontend-specific rules (#7139)

GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
Alf Eaton vor 4 Jahren
Ursprung
Commit
8b253b32f7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      services/web/.eslintrc

+ 1 - 1
services/web/.eslintrc

@@ -104,7 +104,7 @@
     },
     {
       // Frontend specific rules
-      "files": ["**/frontend/js/**/*.js", "**/frontend/stories/**/*.js", "**/*.stories.js", "**/test/frontend/**/*.js"],
+      "files": ["**/frontend/js/**/*.{js,ts,tsx}", "**/frontend/stories/**/*.{js,ts,tsx}", "**/*.stories.{js,ts,tsx}", "**/test/frontend/**/*.{js,ts,tsx}"],
       "env": {
         "browser": true
       },