@egy186/eslint-config 0.109.0 → 0.110.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/dist/react.d.ts +1 -0
- package/dist/react.js +1 -0
- package/dist/typescript.d.ts +3 -1
- package/dist/typescript.js +1 -1
- package/package.json +3 -3
package/dist/react.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare const config: {
|
|
|
11
11
|
'react-hooks/rules-of-hooks': "error";
|
|
12
12
|
'react/boolean-prop-naming': "error";
|
|
13
13
|
'react/button-has-type': "error";
|
|
14
|
+
'react/checked-requires-onchange-or-readonly': "error";
|
|
14
15
|
'react/default-props-match-prop-types': "error";
|
|
15
16
|
'react/destructuring-assignment': ["error", string];
|
|
16
17
|
'react/display-name': "error";
|
package/dist/react.js
CHANGED
|
@@ -11,6 +11,7 @@ const config = {
|
|
|
11
11
|
'react-hooks/rules-of-hooks': 'error',
|
|
12
12
|
'react/boolean-prop-naming': 'error',
|
|
13
13
|
'react/button-has-type': 'error',
|
|
14
|
+
'react/checked-requires-onchange-or-readonly': 'error',
|
|
14
15
|
'react/default-props-match-prop-types': 'error',
|
|
15
16
|
'react/destructuring-assignment': ['error', 'always'],
|
|
16
17
|
'react/display-name': 'error',
|
package/dist/typescript.d.ts
CHANGED
|
@@ -155,7 +155,9 @@ declare const config: {
|
|
|
155
155
|
'@typescript-eslint/triple-slash-reference': "error";
|
|
156
156
|
'@typescript-eslint/typedef': "error";
|
|
157
157
|
'@typescript-eslint/unbound-method': "error";
|
|
158
|
-
'@typescript-eslint/unified-signatures': "error"
|
|
158
|
+
'@typescript-eslint/unified-signatures': ["error", {
|
|
159
|
+
ignoreDifferentlyNamedParameters: boolean;
|
|
160
|
+
}];
|
|
159
161
|
camelcase: "off";
|
|
160
162
|
'class-methods-use-this': "off";
|
|
161
163
|
'consistent-return': "off";
|
package/dist/typescript.js
CHANGED
|
@@ -160,7 +160,7 @@ const config = {
|
|
|
160
160
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
161
161
|
'@typescript-eslint/typedef': 'error',
|
|
162
162
|
'@typescript-eslint/unbound-method': 'error',
|
|
163
|
-
'@typescript-eslint/unified-signatures': 'error',
|
|
163
|
+
'@typescript-eslint/unified-signatures': ['error', { ignoreDifferentlyNamedParameters: true }],
|
|
164
164
|
camelcase: 'off',
|
|
165
165
|
'class-methods-use-this': 'off',
|
|
166
166
|
'consistent-return': 'off',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.110.0",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"eslint": "~8.57.0",
|
|
22
22
|
"eslint-import-resolver-typescript": "~3.6.1",
|
|
23
23
|
"eslint-plugin-jest": "~27.9.0",
|
|
24
|
-
"eslint-plugin-react": "~7.
|
|
24
|
+
"eslint-plugin-react": "~7.34.0",
|
|
25
25
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
26
26
|
"husky": "^9.0.11",
|
|
27
27
|
"jiti": "^1.21.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"eslint": "^8.50.0",
|
|
53
53
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
54
54
|
"eslint-plugin-jest": "^27.7.0",
|
|
55
|
-
"eslint-plugin-react": "^7.
|
|
55
|
+
"eslint-plugin-react": "^7.34.0",
|
|
56
56
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
57
57
|
"typescript": "^5.0.4"
|
|
58
58
|
},
|