Commit c6e0630
committed
Add no-var ESLint disable for TypeScript declare global blocks
CI detects no-var violations in declare global blocks, while local ESLint
does not. This appears to be an environment difference in how TypeScript
ESLint processes ambient declarations.
Adding the disable directive to match CI requirements. The declare global
syntax requires var (not let/const) per TypeScript spec.1 parent 446c6ac commit c6e0630
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments