Commit 8f52218
authored
feat: switch from eslint-plugin-node to eslint-plugin-n (#8)
## Problem
`eslint-plugin-node` has been
[abandoned](mysticatea/eslint-plugin-node#300)
for some time with no recommended replacement.
## Solution
[eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n)
is a fork that currently seems to be maintained pretty well. This
updates our dependencies and config to use `eslint-plugin-n`.
## Breaking Changes
Although it's basically a drop-in replacement, this will cause some
breaking changes so it should be in a major release.
- All config and eslint-disable comments will need to be updated from
`node/` to `n/`
- In my testing, this resulted in many new (true) errors because
`eslint-plugin-n` has been maintained and received fixes while
`eslint-plugin-node` has not. So updating will require fixing or
ignoring these new errors.1 parent 58b3c66 commit 8f52218
File tree
6 files changed
+89
-103
lines changed- src/config
6 files changed
+89
-103
lines changedSome 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 | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments