Explorar el Código

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

GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
Alf Eaton hace 4 años
padre
commit
8b253b32f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
       },