@kununu/eslint-config 5.1.2 → 5.1.4-beta.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/index.js
CHANGED
|
@@ -199,7 +199,10 @@ const baseRules = {
|
|
|
199
199
|
}
|
|
200
200
|
],
|
|
201
201
|
|
|
202
|
-
'lodash/import-scope': [2, 'method']
|
|
202
|
+
'lodash/import-scope': [2, 'method'],
|
|
203
|
+
|
|
204
|
+
// https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops
|
|
205
|
+
'react/require-default-props': 0,
|
|
203
206
|
};
|
|
204
207
|
|
|
205
208
|
module.exports = {
|
|
@@ -257,7 +260,6 @@ module.exports = {
|
|
|
257
260
|
'@typescript-eslint/no-use-before-define': ['error'],
|
|
258
261
|
'@typescript-eslint/no-var-requires': 'off',
|
|
259
262
|
'react/prop-types': 'off',
|
|
260
|
-
'react/require-default-props': 0,
|
|
261
263
|
'typescript-sort-keys/interface': ['error', 'asc', {'caseSensitive': false, 'natural': false, requiredFirst: true}],
|
|
262
264
|
'typescript-sort-keys/string-enum': ['error', 'asc', {'caseSensitive': false, 'natural': false}],
|
|
263
265
|
'import/no-extraneous-dependencies': ['error', {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4-beta.0",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "kununu/eslint-config",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@babel/core": "7.24.7",
|
|
30
30
|
"@babel/eslint-parser": "7.24.7",
|
|
31
31
|
"@babel/eslint-plugin": "7.24.7",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
33
|
-
"@typescript-eslint/parser": "7.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "7.15.0",
|
|
33
|
+
"@typescript-eslint/parser": "7.15.0",
|
|
34
34
|
"eslint": "8.57.0",
|
|
35
35
|
"eslint-config-airbnb": "19.0.4",
|
|
36
36
|
"eslint-config-airbnb-typescript": "18.0.0",
|