@origin-1/eslint-config 1.12.0 → 1.12.1
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
|
@@ -347,6 +347,7 @@ exports.RULES = {
|
|
|
347
347
|
'bracket-layout': ['error'],
|
|
348
348
|
'indent': ['error'],
|
|
349
349
|
'nice-space-before-function-paren': ['error'],
|
|
350
|
+
'no-leading-binary-operator': ['error'],
|
|
350
351
|
'no-spaces-in-call-expression': ['error'],
|
|
351
352
|
'no-spaces-in-tagged-template': ['error'],
|
|
352
353
|
'property-colon-spacing': ['error'],
|
|
@@ -450,7 +451,7 @@ exports.RULES = {
|
|
|
450
451
|
'object-curly-spacing': ['error', 'always'],
|
|
451
452
|
'object-property-newline': ['error', { allowAllPropertiesOnSameLine: true }],
|
|
452
453
|
'one-var-declaration-per-line': ['error'],
|
|
453
|
-
'operator-linebreak':
|
|
454
|
+
'operator-linebreak': 'off',
|
|
454
455
|
'padded-blocks': ['error', 'never'],
|
|
455
456
|
'padding-line-between-statements': [
|
|
456
457
|
'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@origin-1/eslint-config",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "ESLint configuration generator with Origin₁ presets",
|
|
5
5
|
"homepage": "https://github.com/origin-1/eslint-config#readme",
|
|
6
6
|
"license": "ISC",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@eslint-community/eslint-plugin-eslint-comments": ">=4.1",
|
|
17
|
-
"@origin-1/eslint-plugin": ">=0.
|
|
17
|
+
"@origin-1/eslint-plugin": ">=0.17",
|
|
18
18
|
"@stylistic/eslint-plugin": "^5.0",
|
|
19
19
|
"@typescript-eslint/eslint-plugin": "^8.32",
|
|
20
20
|
"@typescript-eslint/parser": "^8.32",
|