Commit 4a123c1
committed
(refactor): get tsdx lint working with standard style
- replace standard with eslint and all eslint-config-standard etc
- hopefully tsdx lint should be more compatible with editors, tools,
TS, etc than standard, because it gave lots of issues
- lots of things, esp. integrations, are pretty unmaintained in
standard's ecosystem :(
- add react-app and prettier from tsdx lint --write-file so editors
etc will be able to have the same config as TSDX internally
- have to turn off prettier as double quotes and semicolons conflict
with standard
- fix lint errors in the example code
(deps): add eslint-config-standard and all its peerDeps
(deps): add eslint-plugin-react as tsdx lint will error without it1 parent 18113bd commit 4a123c1
4 files changed
+457
-352
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments