@fullstacksjs/eslint-config 13.13.1 → 13.13.2

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.
@@ -25,7 +25,9 @@ function stylistic() {
25
25
  component: true,
26
26
  html: true
27
27
  }],
28
- '@stylistic/no-mixed-operators': 'error',
28
+ '@stylistic/no-mixed-operators': ['error', {
29
+ allowSamePrecedence: true
30
+ }],
29
31
  '@stylistic/padding-line-between-statements': ['warn', {
30
32
  blankLine: 'always',
31
33
  prev: ['case', 'default'],
@@ -128,7 +128,8 @@ function typescript(options = {}) {
128
128
  classes: true
129
129
  }],
130
130
  '@typescript-eslint/no-useless-constructor': 'error',
131
- '@typescript-eslint/no-useless-default-assignment': 'warn',
131
+ '@typescript-eslint/no-useless-default-assignment': 'off',
132
+ // Re-enable after fix https://github.com/typescript-eslint/typescript-eslint/issues/11849
132
133
  '@typescript-eslint/no-useless-empty-export': 'warn',
133
134
  '@typescript-eslint/parameter-properties': 'off',
134
135
  '@typescript-eslint/prefer-as-const': 'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullstacksjs/eslint-config",
3
- "version": "13.13.1",
3
+ "version": "13.13.2",
4
4
  "license": "MIT",
5
5
  "author": "fullstacks <fullstacksjs@gmail.com>",
6
6
  "description": "fullstacks eslint config",
@@ -16,7 +16,7 @@ function stylistic() {
16
16
  html: true,
17
17
  },
18
18
  ],
19
- '@stylistic/no-mixed-operators': 'error',
19
+ '@stylistic/no-mixed-operators': ['error', { allowSamePrecedence: true }],
20
20
  '@stylistic/padding-line-between-statements': [
21
21
  'warn',
22
22
  { blankLine: 'always', prev: ['case', 'default'], next: '*' },
@@ -117,7 +117,7 @@ function typescript(options = {}) {
117
117
  ],
118
118
  '@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: true }],
119
119
  '@typescript-eslint/no-useless-constructor': 'error',
120
- '@typescript-eslint/no-useless-default-assignment': 'warn',
120
+ '@typescript-eslint/no-useless-default-assignment': 'off', // Re-enable after fix https://github.com/typescript-eslint/typescript-eslint/issues/11849
121
121
  '@typescript-eslint/no-useless-empty-export': 'warn',
122
122
  '@typescript-eslint/parameter-properties': 'off',
123
123
  '@typescript-eslint/prefer-as-const': 'warn',