@repodog/eslint-config 9.0.21 → 9.0.24
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/index.mjs +9 -5
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -61,7 +61,7 @@ export default tsEslint.config(
|
|
|
61
61
|
'sort-keys-fix': fixupPluginRules(sortKeysFix),
|
|
62
62
|
},
|
|
63
63
|
rules: {
|
|
64
|
-
'@stylistic/lines-between-class-members': [2, 'always'],
|
|
64
|
+
'@stylistic/lines-between-class-members': [2, 'always', { exceptAfterSingleLine: true }],
|
|
65
65
|
'@stylistic/max-len': [
|
|
66
66
|
2,
|
|
67
67
|
{
|
|
@@ -81,10 +81,6 @@ export default tsEslint.config(
|
|
|
81
81
|
{ blankLine: 'always', next: 'multiline-block-like', prev: '*' },
|
|
82
82
|
{ blankLine: 'always', next: '*', prev: 'multiline-expression' },
|
|
83
83
|
{ blankLine: 'always', next: 'multiline-expression', prev: '*' },
|
|
84
|
-
{ blankLine: 'always', next: '*', prev: 'type' },
|
|
85
|
-
{ blankLine: 'always', next: 'type', prev: '*' },
|
|
86
|
-
{ blankLine: 'always', next: '*', prev: 'interface' },
|
|
87
|
-
{ blankLine: 'always', next: 'interface', prev: '*' },
|
|
88
84
|
{ blankLine: 'always', next: '*', prev: 'directive' },
|
|
89
85
|
{ blankLine: 'always', next: 'directive', prev: '*' },
|
|
90
86
|
{ blankLine: 'always', next: 'multiline-return', prev: '*' },
|
|
@@ -234,9 +230,17 @@ export default tsEslint.config(
|
|
|
234
230
|
},
|
|
235
231
|
},
|
|
236
232
|
plugins: {
|
|
233
|
+
'@stylistic': stylistic,
|
|
237
234
|
'typescript-sort-keys': fixupPluginRules(typescriptSortKeys),
|
|
238
235
|
},
|
|
239
236
|
rules: {
|
|
237
|
+
'@stylistic/padding-line-between-statements': [
|
|
238
|
+
2,
|
|
239
|
+
{ blankLine: 'always', next: '*', prev: 'type' },
|
|
240
|
+
{ blankLine: 'always', next: 'type', prev: '*' },
|
|
241
|
+
{ blankLine: 'always', next: '*', prev: 'interface' },
|
|
242
|
+
{ blankLine: 'always', next: 'interface', prev: '*' },
|
|
243
|
+
],
|
|
240
244
|
'@typescript-eslint/consistent-type-assertions': [2, { assertionStyle: 'never' }],
|
|
241
245
|
'@typescript-eslint/consistent-type-definitions': 0,
|
|
242
246
|
'@typescript-eslint/consistent-type-imports': [
|