Skip to content

Commit e935d84

Browse files
chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0 (#2476)
* chore(deps): replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0 * Update .eslintrc * Update inline rule reference * Update dependency-lint.yml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Goss <[email protected]>
1 parent 7f0d832 commit e935d84

5 files changed

+52
-40
lines changed

.eslintrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ parserOptions:
99
project: './tsconfig.json'
1010
plugins:
1111
- import
12-
- node
12+
- n
1313
- unicorn
1414
- '@typescript-eslint'
1515
rules:

dependency-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ignoreErrors:
3131
- eslint-config-prettier # .eslintrc.yml - extends - prettier
3232
- eslint-config-standard-with-typescript # .eslintrc.yml - extends - standard-with-typescript
3333
- eslint-plugin-import # peer dependency of eslint-config-standard-with-typescript
34-
- eslint-plugin-node # peer dependency of eslint-config-standard-with-typescript
34+
- eslint-plugin-n # peer dependency of eslint-config-standard-with-typescript
3535
- eslint-plugin-prettier # .eslintrc.yml - extends - prettier
3636
- eslint-plugin-promise # peer dependency of eslint-config-standard-with-typescript
3737
- eslint-plugin-standard # peer dependency of eslint-config-standard-with-typescript

package-lock.json

+48-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"eslint": "8.57.1",
293293
"eslint-config-prettier": "9.1.0",
294294
"eslint-plugin-import": "2.31.0",
295-
"eslint-plugin-node": "11.1.0",
295+
"eslint-plugin-n": "14.0.0",
296296
"eslint-plugin-standard": "5.0.0",
297297
"eslint-plugin-unicorn": "^48.0.1",
298298
"express": "^4.21.0",

src/user_code_runner_spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('UserCodeRunner', () => {
8585
// Arrange
8686
const fn = function (callback: CallbackFn): void {
8787
setTimeout(() => {
88-
callback('error') // eslint-disable-line node/no-callback-literal
88+
callback('error') // eslint-disable-line n/no-callback-literal
8989
}, 25)
9090
}
9191

0 commit comments

Comments
 (0)