@repodog/eslint-config 9.0.24 → 9.0.26
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 +6 -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: '*' },
|
|
@@ -100,6 +104,8 @@ export default tsEslint.config(
|
|
|
100
104
|
{ blankLine: 'always', next: 'multiline-let', prev: '*' },
|
|
101
105
|
{ blankLine: 'never', next: 'cjs-export', prev: 'cjs-export' },
|
|
102
106
|
{ blankLine: 'never', next: 'cjs-import', prev: 'cjs-import' },
|
|
107
|
+
{ blankLine: 'always', next: '*', prev: 'multiline-export' },
|
|
108
|
+
{ blankLine: 'always', next: 'multiline-export', prev: '*' },
|
|
103
109
|
{ blankLine: 'always', next: 'case', prev: '*' },
|
|
104
110
|
{ blankLine: 'always', next: 'default', prev: '*' },
|
|
105
111
|
{ blankLine: 'always', next: '*', prev: 'break' },
|
|
@@ -230,17 +236,9 @@ export default tsEslint.config(
|
|
|
230
236
|
},
|
|
231
237
|
},
|
|
232
238
|
plugins: {
|
|
233
|
-
'@stylistic': stylistic,
|
|
234
239
|
'typescript-sort-keys': fixupPluginRules(typescriptSortKeys),
|
|
235
240
|
},
|
|
236
241
|
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
242
|
'@typescript-eslint/consistent-type-assertions': [2, { assertionStyle: 'never' }],
|
|
245
243
|
'@typescript-eslint/consistent-type-definitions': 0,
|
|
246
244
|
'@typescript-eslint/consistent-type-imports': [
|