@kununu/eslint-config 7.3.5-improvements-beta.1 → 7.3.5
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/eslint.config.mjs +1 -11
- package/package.json +3 -3
package/eslint.config.mjs
CHANGED
|
@@ -126,7 +126,6 @@ export default defineConfig([
|
|
|
126
126
|
'@stylistic/array-bracket-spacing': ['error', 'never'],
|
|
127
127
|
'@stylistic/arrow-parens': ['error', 'as-needed'],
|
|
128
128
|
'@stylistic/brace-style': ['error', '1tbs'],
|
|
129
|
-
'@stylistic/function-paren-newline': ['error', 'multiline-arguments'],
|
|
130
129
|
'@stylistic/max-len': ['error', {
|
|
131
130
|
code: 120,
|
|
132
131
|
ignoreComments: true, // Ignore all comments
|
|
@@ -259,17 +258,7 @@ export default defineConfig([
|
|
|
259
258
|
type: 'natural',
|
|
260
259
|
},
|
|
261
260
|
],
|
|
262
|
-
'perfectionist/sort-interfaces': ['error', {
|
|
263
|
-
groups: ['required-member', 'optional-member'],
|
|
264
|
-
order: 'asc',
|
|
265
|
-
type: 'natural',
|
|
266
|
-
}],
|
|
267
261
|
'perfectionist/sort-modules': ['error', {type: 'usage'}],
|
|
268
|
-
'perfectionist/sort-object-types': ['error', {
|
|
269
|
-
groups: ['required-member', 'optional-member'],
|
|
270
|
-
order: 'asc',
|
|
271
|
-
type: 'natural',
|
|
272
|
-
}],
|
|
273
262
|
'perfectionist/sort-union-types': ['error', {
|
|
274
263
|
groups: [
|
|
275
264
|
'conditional',
|
|
@@ -296,6 +285,7 @@ export default defineConfig([
|
|
|
296
285
|
'react-hooks/rules-of-hooks': 'error',
|
|
297
286
|
'react-hooks/set-state-in-effect': 'warn',
|
|
298
287
|
'react-hooks/use-memo': 'warn',
|
|
288
|
+
'react/jsx-closing-bracket-location': ['error', 'tag-aligned'],
|
|
299
289
|
// More restrictive JSX rules that are auto-fixable
|
|
300
290
|
'react/jsx-curly-spacing': ['error', 'never'],
|
|
301
291
|
'react/jsx-first-prop-new-line': ['error', 'multiline-multiprop'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "7.3.5
|
|
3
|
+
"version": "7.3.5",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "eslint.config.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"eslint": "9.39.5",
|
|
37
37
|
"eslint-plugin-granular-selectors": "1.5.0",
|
|
38
38
|
"eslint-plugin-jest": "29.16.0",
|
|
39
|
-
"eslint-plugin-jest-dom": "5.
|
|
39
|
+
"eslint-plugin-jest-dom": "5.7.0",
|
|
40
40
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
41
41
|
"eslint-plugin-lodash": "8.0.0",
|
|
42
42
|
"eslint-plugin-perfectionist": "5.10.0",
|
|
43
43
|
"eslint-plugin-react": "7.37.5",
|
|
44
44
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
45
|
-
"eslint-plugin-sonarjs": "4.
|
|
45
|
+
"eslint-plugin-sonarjs": "4.2.0",
|
|
46
46
|
"eslint-plugin-testing-library": "7.16.2",
|
|
47
47
|
"typescript-eslint": "8.65.0"
|
|
48
48
|
},
|