Commit 0f01fbd
feat(linter): implement eslint/object-shorthand (oxc-project#17688)
Related: oxc-project#479
This PR Implements `eslint/object-shorthand`
All eslint tests are ported and should pass.
Some API usage and implementation might not be in the preferred style.
Some setup code and base structure is reusing the work from
oxc-project#3211
---------
Co-authored-by: Jakub Jastrzębski <jakub.jastrzebski@pm.me>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>1 parent 02f108f commit 0f01fbd
7 files changed
Lines changed: 3280 additions & 12 deletions
File tree
- crates/oxc_linter/src
- generated
- rules/eslint
- snapshots
- utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 88 | | |
99 | 89 | | |
100 | 90 | | |
| |||
0 commit comments