oxc/crates/oxc_semantic
Cameron c4a2084f27
fix(linter) Fix panic when linting declaration files (#1014)
When linting declaration files, it panics here 


6628fc8d9c/crates/oxc_linter/src/rules/eslint/no_global_assign.rs (L57)

with this error:
```
index out of bounds: the len is 0 but the index is 0
```

Because it expects the array to have the root scope id inside (non zero
len)


0fcad27515/crates/oxc_semantic/src/scope.rs (L52-L54)
2023-10-21 09:25:32 +08:00
..
src fix(linter) Fix panic when linting declaration files (#1014) 2023-10-21 09:25:32 +08:00
tests test(semantic): add scoping test cases (#954) 2023-10-03 18:16:01 +13:00
Cargo.toml ci: turn off doc tests because they are slow to compile and run (#961) 2023-10-07 17:01:23 +08:00