@robinblomberg/eslint-config-robinblomberg 0.32.0 → 0.33.0
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/.cspell.json +1 -0
- package/index.js +48 -38
- package/package.json +11 -11
- package/pnpm-workspace.yaml +4 -0
package/.cspell.json
CHANGED
package/index.js
CHANGED
|
@@ -46,14 +46,14 @@ module.exports = defineConfig({
|
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
|
-
|
|
49
|
+
// Definition not found (2026-09-03):
|
|
50
|
+
// '@typescript-eslint/brace-style': warn,
|
|
50
51
|
'@typescript-eslint/camelcase': off,
|
|
51
52
|
'@typescript-eslint/class-literal-property-style': [warn, 'fields'],
|
|
52
|
-
|
|
53
|
-
'@typescript-eslint/comma-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
],
|
|
53
|
+
// Definition not found (2026-09-03):
|
|
54
|
+
// '@typescript-eslint/comma-dangle': [warn, 'always-multiline'],
|
|
55
|
+
// Definition not found (2026-09-03):
|
|
56
|
+
// '@typescript-eslint/comma-spacing': [warn, { after: true, before: false }],
|
|
57
57
|
'@typescript-eslint/consistent-type-assertions': [
|
|
58
58
|
off,
|
|
59
59
|
{
|
|
@@ -81,36 +81,40 @@ module.exports = defineConfig({
|
|
|
81
81
|
{ accessibility: 'no-public' },
|
|
82
82
|
],
|
|
83
83
|
'@typescript-eslint/explicit-module-boundary-types': off,
|
|
84
|
-
|
|
85
|
-
'@typescript-eslint/
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
],
|
|
84
|
+
// Definition not found (2026-09-03):
|
|
85
|
+
// '@typescript-eslint/func-call-spacing': warn,
|
|
86
|
+
// Definition not found (2026-09-03):
|
|
87
|
+
// '@typescript-eslint/indent': [
|
|
88
|
+
// warn,
|
|
89
|
+
// 2,
|
|
90
|
+
// {
|
|
91
|
+
// SwitchCase: 1,
|
|
92
|
+
// // Ignored nodes due to false positives:
|
|
93
|
+
// ignoredNodes: [
|
|
94
|
+
// 'TSIntersectionType',
|
|
95
|
+
// 'TSTypeParameterInstantiation',
|
|
96
|
+
// 'TSUnionType',
|
|
97
|
+
// ],
|
|
98
|
+
// },
|
|
99
|
+
// ],
|
|
98
100
|
// Definition not found (2020-10-26):
|
|
99
101
|
// '@typescript-eslint/index': warn,
|
|
100
102
|
'@typescript-eslint/init-declarations': off,
|
|
101
|
-
|
|
103
|
+
// Definition not found (2026-09-03):
|
|
104
|
+
// '@typescript-eslint/keyword-spacing': warn,
|
|
102
105
|
'@typescript-eslint/lines-between-class-members': [
|
|
103
106
|
off,
|
|
104
107
|
'always',
|
|
105
108
|
{ exceptAfterOverload: true, exceptAfterSingleLine: true },
|
|
106
109
|
],
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
// Definition not found (2026-09-03):
|
|
111
|
+
// '@typescript-eslint/member-delimiter-style': [
|
|
112
|
+
// warn,
|
|
113
|
+
// {
|
|
114
|
+
// multiline: { delimiter: 'semi', requireLast: true },
|
|
115
|
+
// singleline: { delimiter: 'semi', requireLast: true },
|
|
116
|
+
// },
|
|
117
|
+
// ],
|
|
114
118
|
// Disabled to due buggy ordering:
|
|
115
119
|
'@typescript-eslint/member-ordering': [
|
|
116
120
|
off,
|
|
@@ -217,12 +221,14 @@ module.exports = defineConfig({
|
|
|
217
221
|
// Often warns about necessary uses:
|
|
218
222
|
'@typescript-eslint/no-explicit-any': off,
|
|
219
223
|
'@typescript-eslint/no-extra-non-null-assertion': warn,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
// Definition not found (2026-09-03):
|
|
225
|
+
// '@typescript-eslint/no-extra-parens': [
|
|
226
|
+
// warn,
|
|
227
|
+
// 'all',
|
|
228
|
+
// { ignoreJSX: 'all', nestedBinaryExpressions: false },
|
|
229
|
+
// ],
|
|
230
|
+
// Definition not found (2026-09-03):
|
|
231
|
+
// '@typescript-eslint/no-extra-semi': warn,
|
|
226
232
|
'@typescript-eslint/no-extraneous-class': off,
|
|
227
233
|
// Disabled due to slow performance:
|
|
228
234
|
'@typescript-eslint/no-floating-promises': [
|
|
@@ -310,7 +316,8 @@ module.exports = defineConfig({
|
|
|
310
316
|
'@typescript-eslint/prefer-string-starts-ends-with': off,
|
|
311
317
|
'@typescript-eslint/prefer-ts-expect-error': warn,
|
|
312
318
|
'@typescript-eslint/promise-function-async': off,
|
|
313
|
-
|
|
319
|
+
// Definition not found (2026-09-03):
|
|
320
|
+
// '@typescript-eslint/quotes': [warn, 'single'],
|
|
314
321
|
'@typescript-eslint/require-array-sort-compare': [
|
|
315
322
|
warn,
|
|
316
323
|
{ ignoreStringArrays: true },
|
|
@@ -323,8 +330,10 @@ module.exports = defineConfig({
|
|
|
323
330
|
// Disabled due to false positives:
|
|
324
331
|
'@typescript-eslint/restrict-template-expressions': off,
|
|
325
332
|
'@typescript-eslint/return-await': [warn, 'always'],
|
|
326
|
-
|
|
327
|
-
'@typescript-eslint/
|
|
333
|
+
// Definition not found (2026-09-03):
|
|
334
|
+
// '@typescript-eslint/semi': [warn, 'always'],
|
|
335
|
+
// Definition not found (2026-09-03):
|
|
336
|
+
// '@typescript-eslint/space-before-function-paren': [warn, 'always'],
|
|
328
337
|
'@typescript-eslint/strict-boolean-expressions': off,
|
|
329
338
|
'@typescript-eslint/switch-exhaustiveness-check': [
|
|
330
339
|
warn,
|
|
@@ -335,7 +344,8 @@ module.exports = defineConfig({
|
|
|
335
344
|
},
|
|
336
345
|
],
|
|
337
346
|
'@typescript-eslint/triple-slash-reference': warn,
|
|
338
|
-
|
|
347
|
+
// Definition not found (2026-09-03):
|
|
348
|
+
// '@typescript-eslint/type-annotation-spacing': warn,
|
|
339
349
|
'@typescript-eslint/typedef': off,
|
|
340
350
|
'@typescript-eslint/unbound-method': off,
|
|
341
351
|
'@typescript-eslint/unified-signatures': warn,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robinblomberg/eslint-config-robinblomberg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"author": "Robin Blomberg",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
"lint:fix": "eslint **/*.{js,ts} --fix"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@babel/core": "^7.29.
|
|
21
|
-
"@babel/eslint-parser": "^7.
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
23
|
-
"@typescript-eslint/parser": "^8.
|
|
20
|
+
"@babel/core": "^7.29.7",
|
|
21
|
+
"@babel/eslint-parser": "^7.29.7",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
23
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
24
24
|
"eslint-define-config": "^2.1.0",
|
|
25
25
|
"eslint-plugin-import": "^2.32.0",
|
|
26
|
-
"eslint-plugin-jsdoc": "^
|
|
26
|
+
"eslint-plugin-jsdoc": "^64.3.4",
|
|
27
27
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
28
28
|
"eslint-plugin-react": "^7.37.5",
|
|
29
|
-
"eslint-plugin-react-hooks": "^7.
|
|
30
|
-
"eslint-plugin-react-refresh": "^0.
|
|
31
|
-
"eslint-plugin-sonarjs": "^
|
|
29
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
30
|
+
"eslint-plugin-react-refresh": "^0.4.26",
|
|
31
|
+
"eslint-plugin-sonarjs": "^4.2.0",
|
|
32
32
|
"eslint-plugin-sort-exports": "^0.9.1",
|
|
33
33
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
34
|
-
"eslint-plugin-storybook": "^10.
|
|
34
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
35
35
|
"eslint-plugin-unicorn": "56.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@robinblomberg/eslint-config-prettier": "^0.1.4",
|
|
39
|
-
"@robinblomberg/eslint-config-robinblomberg": "^0.
|
|
39
|
+
"@robinblomberg/eslint-config-robinblomberg": "^0.32.0",
|
|
40
40
|
"@types/node": "*"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|