Commit b94f0f1
authored
Add lint check (#587)
Changes:
- Added ESLint v9
- Added typescript-eslint (note: I chose to use an v8 alpha version
because this is [the only that supports ESLint
v9](typescript-eslint/typescript-eslint#8211 (comment)).
I think this was preferable than using ESLint v8, which is going to be
deprecated sooner than v9)
- Added eslint-config-prettier to avoid lint conflicts with Prettier
- Replaced custom `throttle` and `debounce` utility function with lodash
functions to fix typing issues
- Added lint step to CI workflow1 parent 5d467b8 commit b94f0f1
File tree
13 files changed
+2695
-163
lines changed- .github/workflows
- src
- actions
- model
- tests
- tooltip
- xstate
13 files changed
+2695
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments