@repodog/eslint-config 9.0.18 → 9.0.20
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 +7 -0
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -61,6 +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
65
|
'@stylistic/max-len': [
|
|
65
66
|
2,
|
|
66
67
|
{
|
|
@@ -82,6 +83,10 @@ export default tsEslint.config(
|
|
|
82
83
|
{ blankLine: 'always', next: 'multiline-expression', prev: '*' },
|
|
83
84
|
{ blankLine: 'always', next: '*', prev: 'directive' },
|
|
84
85
|
{ blankLine: 'always', next: 'directive', prev: '*' },
|
|
86
|
+
{ blankLine: 'always', next: 'multiline-return', prev: '*' },
|
|
87
|
+
{ blankLine: 'never', next: 'singleline-return', prev: 'singleline-let' },
|
|
88
|
+
{ blankLine: 'never', next: 'singleline-return', prev: 'singleline-const' },
|
|
89
|
+
{ blankLine: 'never', next: 'singleline-const', prev: 'singleline-let' },
|
|
85
90
|
{ blankLine: 'never', next: 'singleline-const', prev: 'singleline-const' },
|
|
86
91
|
{ blankLine: 'never', next: 'singleline-const', prev: 'singleline-let' },
|
|
87
92
|
{ blankLine: 'never', next: 'singleline-let', prev: 'singleline-let' },
|
|
@@ -237,6 +242,7 @@ export default tsEslint.config(
|
|
|
237
242
|
prefer: 'type-imports',
|
|
238
243
|
},
|
|
239
244
|
],
|
|
245
|
+
'@typescript-eslint/explicit-function-return-type': 2,
|
|
240
246
|
'@typescript-eslint/naming-convention': [
|
|
241
247
|
2,
|
|
242
248
|
{
|
|
@@ -313,6 +319,7 @@ export default tsEslint.config(
|
|
|
313
319
|
2,
|
|
314
320
|
{ assertionStyle: 'as', objectLiteralTypeAssertions: 'allow' },
|
|
315
321
|
],
|
|
322
|
+
'@typescript-eslint/explicit-function-return-type': 0,
|
|
316
323
|
'@typescript-eslint/no-non-null-assertion': 0,
|
|
317
324
|
},
|
|
318
325
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repodog/eslint-config",
|
|
3
3
|
"description": "The Repodog ESLint config module.",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.20",
|
|
5
5
|
"author": "miami-man",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/repodog",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@eslint/compat": "^1.3.2",
|
|
26
26
|
"@eslint/eslintrc": "^3.3.1",
|
|
27
27
|
"@eslint/js": "^9.33.0",
|
|
28
|
-
"@stylistic/eslint-plugin": "^5.
|
|
28
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
29
29
|
"eslint-config-prettier": "^10.1.8",
|
|
30
30
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
31
31
|
"eslint-plugin-eslint-comments": "^3.2.0",
|