Skip to content

Commit

Permalink
node: Upgrade eslint-plugin-n to 17.7.0
Browse files Browse the repository at this point in the history
Rule change: `n/shebang` removed, replaced by `n/hashbang`.
  • Loading branch information
jdforrester authored and edg2s committed May 22, 2024
1 parent 9195e43 commit d01d131
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 41 deletions.
2 changes: 1 addition & 1 deletion node.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"n/no-unpublished-require": "off",
"n/no-unsupported-features/es-builtins": "off",
"n/no-unsupported-features/es-syntax": "off",
"n/shebang": "off"
"n/hashbang": "off"
},
"overrides": [
{
Expand Down
154 changes: 116 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"eslint-plugin-json-es": "^1.6.0",
"eslint-plugin-mediawiki": "^0.7.0",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-no-jquery": "^2.7.0",
"eslint-plugin-qunit": "^8.1.1",
"eslint-plugin-security": "^1.7.1",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/server/valid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
// Off: n/shebang
// Off: n/hashbang
// Off: es-x/no-hashbang

// Valid: strict
Expand Down

0 comments on commit d01d131

Please sign in to comment.