Commit a968db7
authored
fix: Allow TURBO_EXTENDS in LSP diagnostics (#12770)
## Summary
- Prevent the VS Code/LSP deprecated env-var diagnostic from flagging
the valid `$TURBO_EXTENDS$` package-configuration sentinel.
- Keeps other deprecated `$` syntax covered by the existing diagnostic.
## Tests
- `cargo fmt --check`
- `cargo test -p turborepo-lsp`
- pre-push hook: `pnpm exec lint-staged`, `turbo run format check:toml`,
`cargo fmt --check`, `cargo lint`, `cargo check --workspace`
Closes #127691 parent 87d468b commit a968db7
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
879 | 881 | | |
880 | 882 | | |
881 | 883 | | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
882 | 888 | | |
883 | 889 | | |
884 | 890 | | |
| |||
997 | 1003 | | |
998 | 1004 | | |
999 | 1005 | | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
1000 | 1010 | | |
1001 | 1011 | | |
1002 | 1012 | | |
| |||
1078 | 1088 | | |
1079 | 1089 | | |
1080 | 1090 | | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
0 commit comments