@egy186/eslint-config 0.109.0 → 0.111.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 +10 -1
- package/dist/typescript.js +8 -1
- package/package.json +12 -12
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,22 +155,31 @@ 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";
|
|
164
|
+
'default-param-last': "off";
|
|
162
165
|
'dot-notation': "off";
|
|
163
166
|
'init-declarations': "off";
|
|
164
167
|
'max-params': "off";
|
|
168
|
+
'no-array-constructor': "off";
|
|
165
169
|
'no-dupe-class-members': "off";
|
|
170
|
+
'no-empty-function': "off";
|
|
171
|
+
'no-implied-eval': "off";
|
|
166
172
|
'no-invalid-this': "off";
|
|
167
173
|
'no-loop-func': "off";
|
|
168
174
|
'no-loss-of-precision': "off";
|
|
169
175
|
'no-redeclare': "off";
|
|
170
176
|
'no-restricted-imports': "off";
|
|
171
177
|
'no-shadow': "off";
|
|
178
|
+
'no-throw-literal': "off";
|
|
172
179
|
'no-unused-expressions': "off";
|
|
180
|
+
'no-unused-vars': "off";
|
|
173
181
|
'no-use-before-define': "off";
|
|
182
|
+
'no-useless-constructor': "off";
|
|
174
183
|
'prefer-destructuring': "off";
|
|
175
184
|
'prefer-promise-reject-errors': "off";
|
|
176
185
|
'require-await': "off";
|
package/dist/typescript.js
CHANGED
|
@@ -160,22 +160,29 @@ 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',
|
|
167
|
+
'default-param-last': 'off',
|
|
167
168
|
'dot-notation': 'off',
|
|
168
169
|
'init-declarations': 'off',
|
|
169
170
|
'max-params': 'off',
|
|
171
|
+
'no-array-constructor': 'off',
|
|
170
172
|
'no-dupe-class-members': 'off',
|
|
173
|
+
'no-empty-function': 'off',
|
|
174
|
+
'no-implied-eval': 'off',
|
|
171
175
|
'no-invalid-this': 'off',
|
|
172
176
|
'no-loop-func': 'off',
|
|
173
177
|
'no-loss-of-precision': 'off',
|
|
174
178
|
'no-redeclare': 'off',
|
|
175
179
|
'no-restricted-imports': 'off',
|
|
176
180
|
'no-shadow': 'off',
|
|
181
|
+
'no-throw-literal': 'off',
|
|
177
182
|
'no-unused-expressions': 'off',
|
|
183
|
+
'no-unused-vars': 'off',
|
|
178
184
|
'no-use-before-define': 'off',
|
|
185
|
+
'no-useless-constructor': 'off',
|
|
179
186
|
'prefer-destructuring': 'off',
|
|
180
187
|
'prefer-promise-reject-errors': 'off',
|
|
181
188
|
'require-await': 'off'
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.111.0",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@stylistic/eslint-plugin": "~1.6.
|
|
10
|
+
"@stylistic/eslint-plugin": "~1.6.3",
|
|
11
11
|
"eslint-plugin-import": "~2.29.1",
|
|
12
|
-
"eslint-plugin-jsdoc": "~48.2.
|
|
12
|
+
"eslint-plugin-jsdoc": "~48.2.1",
|
|
13
13
|
"eslint-plugin-n": "~16.6.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@eslint-stylistic/metadata": "~1.6.
|
|
16
|
+
"@eslint-stylistic/metadata": "~1.6.3",
|
|
17
17
|
"@types/eslint": "^8.56.5",
|
|
18
|
-
"@types/node": "^20.11.
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "~7.
|
|
20
|
-
"@typescript-eslint/parser": "~7.
|
|
18
|
+
"@types/node": "^20.11.27",
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "~7.2.0",
|
|
20
|
+
"@typescript-eslint/parser": "~7.2.0",
|
|
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",
|
|
28
|
-
"typescript": "~5.
|
|
28
|
+
"typescript": "~5.4.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18.18.0"
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"main": "index.js",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
51
|
-
"@typescript-eslint/parser": "^7.
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
51
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
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
|
},
|