mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 21:00:49 +00:00
Add ts(x) file extensions to ESLint config for frontend-specific rules (#7139)
GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
This commit is contained in:
parent
37c1b59c95
commit
8b253b32f7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue