@origin-1/eslint-config 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rules.js +2 -1
- package/package.json +2 -2
package/lib/rules.js
CHANGED
|
@@ -480,6 +480,7 @@ exports.RULES = {
|
|
|
480
480
|
'yield-star-spacing': ['error', 'both'],
|
|
481
481
|
},
|
|
482
482
|
'eslint-plugin-n': {
|
|
483
|
+
'hashbang': 'off',
|
|
483
484
|
'no-callback-literal': 'off',
|
|
484
485
|
'no-deprecated-api': ['error'],
|
|
485
486
|
'no-exports-assign': ['error'],
|
|
@@ -494,7 +495,6 @@ exports.RULES = {
|
|
|
494
495
|
'no-unsupported-features/es-syntax': 'off',
|
|
495
496
|
'no-unsupported-features/node-builtins': 'off',
|
|
496
497
|
'process-exit-as-throw': ['error'],
|
|
497
|
-
'shebang': 'off',
|
|
498
498
|
'callback-return': 'off',
|
|
499
499
|
'exports-style': 'off',
|
|
500
500
|
'file-extension-in-import': 'off',
|
|
@@ -515,6 +515,7 @@ exports.RULES = {
|
|
|
515
515
|
'prefer-global/text-encoder': ['error'],
|
|
516
516
|
'prefer-global/url': ['error'],
|
|
517
517
|
'prefer-global/url-search-params': ['error'],
|
|
518
|
+
'prefer-node-protocol': beforeJSOrElse(2021, 'off', ['error']),
|
|
518
519
|
'prefer-promises/dns': beforeJSOrElse(2015, 'off', ['error']),
|
|
519
520
|
'prefer-promises/fs': beforeJSOrElse(2015, 'off', ['error']),
|
|
520
521
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@origin-1/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "ESLint configuration generator with Origin₁ presets",
|
|
5
5
|
"homepage": "https://github.com/origin-1/eslint-config#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@typescript-eslint/eslint-plugin": "^7.5",
|
|
21
21
|
"@typescript-eslint/parser": "^7.5",
|
|
22
22
|
"eslint": "^8.57",
|
|
23
|
-
"eslint-plugin-n": "
|
|
23
|
+
"eslint-plugin-n": "17"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=20.8"
|