Commit a067a32
authored
chore: move main linting to oxlint (@Miodec) (monkeytypegame#7144)
- main linting is now done by oxlint. eslint remains for linting json
files in the frontend (until oxlint adds support)
- move type checking to the lint step (with --type-check)
this improves performance by removing a duplicated typescript parse task
(instead of parsing for linting then again for type checking, it parses
once for both)
- add a `lint-fast` npm script to get some fast fail behavior. it simply
lints with no type information
- oxc plugins are still in preview, so the custom plugin that checks for
`__testing` usage outside of tests runs outside the main linting job
until performance is improved
- fixes some type issues (and config issues) that were not visible due
to a missing type check on some files. now type checking will run on
every file that is linted
- split up oxc config for easier management
waiting oxc-project/tsgolint#494
seeing around 3x improvement in type aware linting1 parent 660668c commit a067a32
File tree
107 files changed
+972
-2035
lines changed- .github/workflows
- backend
- __tests__
- api/controllers
- private
- scripts
- src
- api
- controllers
- dal
- middlewares
- utils
- frontend
- __tests__
- commandline
- root
- utils
- scripts
- src/ts
- ape/adapters
- commandline
- controllers
- elements
- account-settings
- input/listeners
- pages
- popups
- test
- funbox
- utils
- packages
- contracts
- src
- eslint-config
- funbox
- oxlint-config
- plugins
- rules
- release
- src
- schemas
- tsup-config
- src
- util
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
107 files changed
+972
-2035
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 6 | | |
33 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
558 | 559 | | |
559 | 560 | | |
560 | 561 | | |
561 | | - | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
566 | | - | |
| 567 | + | |
567 | 568 | | |
568 | 569 | | |
569 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
2979 | 2978 | | |
2980 | 2979 | | |
2981 | 2980 | | |
2982 | | - | |
| 2981 | + | |
2983 | 2982 | | |
2984 | 2983 | | |
2985 | 2984 | | |
| |||
3041 | 3040 | | |
3042 | 3041 | | |
3043 | 3042 | | |
3044 | | - | |
| 3043 | + | |
3045 | 3044 | | |
3046 | 3045 | | |
3047 | 3046 | | |
| |||
3063 | 3062 | | |
3064 | 3063 | | |
3065 | 3064 | | |
3066 | | - | |
| 3065 | + | |
3067 | 3066 | | |
3068 | 3067 | | |
3069 | 3068 | | |
| |||
3081 | 3080 | | |
3082 | 3081 | | |
3083 | 3082 | | |
3084 | | - | |
| 3083 | + | |
3085 | 3084 | | |
3086 | 3085 | | |
3087 | 3086 | | |
| |||
3132 | 3131 | | |
3133 | 3132 | | |
3134 | 3133 | | |
3135 | | - | |
| 3134 | + | |
3136 | 3135 | | |
3137 | 3136 | | |
3138 | 3137 | | |
| |||
4050 | 4049 | | |
4051 | 4050 | | |
4052 | 4051 | | |
4053 | | - | |
| 4052 | + | |
4054 | 4053 | | |
4055 | 4054 | | |
4056 | 4055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| |||
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | | - | |
85 | | - | |
86 | 82 | | |
87 | | - | |
| 83 | + | |
| 84 | + | |
88 | 85 | | |
89 | 86 | | |
90 | 87 | | |
| |||
0 commit comments