Skip to content

Commit

Permalink
Enable noUndeclaredVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed May 27, 2024
1 parent 6b50ffd commit 4532927
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
},
"suspicious": {
"noExplicitAny": "off"
},
"correctness": {
"noUndeclaredVariables": "error"
}
}
},
Expand All @@ -43,7 +46,7 @@
},
"overrides": [
{
"include": ["lib/node/*"],
"include": ["lib/node/**"],
"linter": {
"rules": {
"style": {
Expand All @@ -58,7 +61,7 @@
}
},
{
"include": ["test/*"],
"include": ["test/**"],
"javascript": {
"globals": [
"jasmine",
Expand All @@ -72,6 +75,9 @@
]
}
},
{ "include": ["demos/*"], "javascript": { "globals": ["tus", "Camera"] } }
{
"include": ["demos/browser/**", "demos/cordova/**"],
"javascript": { "globals": ["tus", "Camera"] }
}
]
}

0 comments on commit 4532927

Please sign in to comment.