Commit 25d67d6
authored
fix(config): strip jsonc comments and trailing commas (#671)
using a crate from the oxc project for simplicity
other options where
- extending our hacky existing solution (too hacky)
- using the biome parser (would require parsing the ast etc)
and oxc is a good source for crates :)
fixes #6691 parent 6e2677c commit 25d67d6
7 files changed
Lines changed: 869 additions & 1040 deletions
File tree
- .github/actions/setup-postgres
- crates/pgls_workspace
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
38 | | - | |
39 | | - | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
0 commit comments