@dr.pogodin/eslint-configs 0.0.2 → 0.0.3
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/config/javascript.js +5 -3
- package/package.json +3 -3
package/config/javascript.js
CHANGED
|
@@ -93,9 +93,11 @@ export default defineConfig([{
|
|
|
93
93
|
SwitchCase: 1,
|
|
94
94
|
}],
|
|
95
95
|
'@stylistic/jsx-child-element-spacing': 'error',
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
|
|
97
|
+
// This rule is quite annoying at times, better switch it off and let
|
|
98
|
+
// developer to buitify his code as needed in each situation.
|
|
99
|
+
'@stylistic/jsx-one-expression-per-line': 'off',
|
|
100
|
+
|
|
99
101
|
'@stylistic/jsx-pascal-case': 'error',
|
|
100
102
|
'@stylistic/jsx-self-closing-comp': 'error',
|
|
101
103
|
'@stylistic/jsx-sort-props': 'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dr.pogodin/eslint-configs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "ESLint configurations for TypeScript and/or React projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./config/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@babel/preset-env": "^7.26.9",
|
|
35
35
|
"@babel/preset-react": "^7.26.3",
|
|
36
36
|
"@babel/preset-typescript": "^7.26.0",
|
|
37
|
-
"@eslint/js": "^9.
|
|
37
|
+
"@eslint/js": "^9.25.0",
|
|
38
38
|
"@stylistic/eslint-plugin": "^4.1.0",
|
|
39
39
|
"eslint-import-resolver-typescript": "^4.3.2",
|
|
40
40
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"eslint-plugin-react": "^7.37.4",
|
|
44
44
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
45
45
|
"typescript": "^5.7.0",
|
|
46
|
-
"typescript-eslint": "^8.
|
|
46
|
+
"typescript-eslint": "^8.30.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"eslint": "9"
|