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

GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
This commit is contained in:
Alf Eaton 2022-03-21 10:26:01 +00:00 committed by Copybot
parent 37c1b59c95
commit 8b253b32f7

View file

@ -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
},