@repodog/eslint-config 9.0.24 → 9.0.25
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 +4 -8
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -81,6 +81,10 @@ 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: '*' },
|
|
84
88
|
{ blankLine: 'always', next: '*', prev: 'directive' },
|
|
85
89
|
{ blankLine: 'always', next: 'directive', prev: '*' },
|
|
86
90
|
{ blankLine: 'always', next: 'multiline-return', prev: '*' },
|
|
@@ -230,17 +234,9 @@ export default tsEslint.config(
|
|
|
230
234
|
},
|
|
231
235
|
},
|
|
232
236
|
plugins: {
|
|
233
|
-
'@stylistic': stylistic,
|
|
234
237
|
'typescript-sort-keys': fixupPluginRules(typescriptSortKeys),
|
|
235
238
|
},
|
|
236
239
|
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
|
-
],
|
|
244
240
|
'@typescript-eslint/consistent-type-assertions': [2, { assertionStyle: 'never' }],
|
|
245
241
|
'@typescript-eslint/consistent-type-definitions': 0,
|
|
246
242
|
'@typescript-eslint/consistent-type-imports': [
|