@origin-1/eslint-config 1.11.0 → 1.12.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 -3
- package/package.json +4 -5
package/lib/rules.js
CHANGED
|
@@ -379,7 +379,6 @@ exports.RULES = {
|
|
|
379
379
|
'curly-newline': ['off'],
|
|
380
380
|
'dot-location': ['error', 'property'],
|
|
381
381
|
'eol-last': ['error'],
|
|
382
|
-
'func-call-spacing': 'off',
|
|
383
382
|
'function-call-argument-newline': ['error', 'consistent'],
|
|
384
383
|
'function-call-spacing': 'off',
|
|
385
384
|
'function-paren-newline': ['error', 'consistent'],
|
|
@@ -400,7 +399,6 @@ exports.RULES = {
|
|
|
400
399
|
'jsx-max-props-per-line': 'off',
|
|
401
400
|
'jsx-newline': 'off',
|
|
402
401
|
'jsx-one-expression-per-line': 'off',
|
|
403
|
-
'jsx-props-no-multi-spaces': 'off',
|
|
404
402
|
'jsx-quotes': ['error'],
|
|
405
403
|
'jsx-self-closing-comp': 'off',
|
|
406
404
|
'jsx-sort-props': 'off',
|
|
@@ -450,7 +448,7 @@ exports.RULES = {
|
|
|
450
448
|
'nonblock-statement-body-position': 'off',
|
|
451
449
|
'object-curly-newline': 'off',
|
|
452
450
|
'object-curly-spacing': ['error', 'always'],
|
|
453
|
-
'object-property-newline': ['error', {
|
|
451
|
+
'object-property-newline': ['error', { allowAllPropertiesOnSameLine: true }],
|
|
454
452
|
'one-var-declaration-per-line': ['error'],
|
|
455
453
|
'operator-linebreak': ['error', 'after'],
|
|
456
454
|
'padded-blocks': ['error', 'never'],
|
|
@@ -504,6 +502,7 @@ exports.RULES = {
|
|
|
504
502
|
'no-extraneous-require': 'off',
|
|
505
503
|
'no-missing-import': 'off',
|
|
506
504
|
'no-missing-require': 'off',
|
|
505
|
+
'no-top-level-await': 'off',
|
|
507
506
|
'no-unpublished-bin': 'off',
|
|
508
507
|
'no-unpublished-import': ['error'],
|
|
509
508
|
'no-unpublished-require': ['error'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@origin-1/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.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",
|
|
@@ -10,17 +10,16 @@
|
|
|
10
10
|
"url": "git+https://github.com/origin-1/eslint-config.git"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"
|
|
14
|
-
"semver": "^7.5.2"
|
|
13
|
+
"semver": "^7.7.2"
|
|
15
14
|
},
|
|
16
15
|
"peerDependencies": {
|
|
17
16
|
"@eslint-community/eslint-plugin-eslint-comments": ">=4.1",
|
|
18
17
|
"@origin-1/eslint-plugin": ">=0.16",
|
|
19
|
-
"@stylistic/eslint-plugin": "^
|
|
18
|
+
"@stylistic/eslint-plugin": "^5.0",
|
|
20
19
|
"@typescript-eslint/eslint-plugin": "^8.32",
|
|
21
20
|
"@typescript-eslint/parser": "^8.32",
|
|
22
21
|
"eslint": "^9.28",
|
|
23
|
-
"eslint-plugin-n": "17"
|
|
22
|
+
"eslint-plugin-n": "^17.19"
|
|
24
23
|
},
|
|
25
24
|
"engines": {
|
|
26
25
|
"node": ">=20.9"
|