@egy186/eslint-config 0.110.0 → 0.112.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/typescript.d.ts +8 -0
- package/dist/typescript.js +8 -0
- package/package.json +12 -12
package/dist/typescript.d.ts
CHANGED
|
@@ -158,21 +158,29 @@ declare const config: {
|
|
|
158
158
|
'@typescript-eslint/unified-signatures': ["error", {
|
|
159
159
|
ignoreDifferentlyNamedParameters: boolean;
|
|
160
160
|
}];
|
|
161
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': "error";
|
|
161
162
|
camelcase: "off";
|
|
162
163
|
'class-methods-use-this': "off";
|
|
163
164
|
'consistent-return': "off";
|
|
165
|
+
'default-param-last': "off";
|
|
164
166
|
'dot-notation': "off";
|
|
165
167
|
'init-declarations': "off";
|
|
166
168
|
'max-params': "off";
|
|
169
|
+
'no-array-constructor': "off";
|
|
167
170
|
'no-dupe-class-members': "off";
|
|
171
|
+
'no-empty-function': "off";
|
|
172
|
+
'no-implied-eval': "off";
|
|
168
173
|
'no-invalid-this': "off";
|
|
169
174
|
'no-loop-func': "off";
|
|
170
175
|
'no-loss-of-precision': "off";
|
|
171
176
|
'no-redeclare': "off";
|
|
172
177
|
'no-restricted-imports': "off";
|
|
173
178
|
'no-shadow': "off";
|
|
179
|
+
'no-throw-literal': "off";
|
|
174
180
|
'no-unused-expressions': "off";
|
|
181
|
+
'no-unused-vars': "off";
|
|
175
182
|
'no-use-before-define': "off";
|
|
183
|
+
'no-useless-constructor': "off";
|
|
176
184
|
'prefer-destructuring': "off";
|
|
177
185
|
'prefer-promise-reject-errors': "off";
|
|
178
186
|
'require-await': "off";
|
package/dist/typescript.js
CHANGED
|
@@ -161,21 +161,29 @@ const config = {
|
|
|
161
161
|
'@typescript-eslint/typedef': 'error',
|
|
162
162
|
'@typescript-eslint/unbound-method': 'error',
|
|
163
163
|
'@typescript-eslint/unified-signatures': ['error', { ignoreDifferentlyNamedParameters: true }],
|
|
164
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
|
164
165
|
camelcase: 'off',
|
|
165
166
|
'class-methods-use-this': 'off',
|
|
166
167
|
'consistent-return': 'off',
|
|
168
|
+
'default-param-last': 'off',
|
|
167
169
|
'dot-notation': 'off',
|
|
168
170
|
'init-declarations': 'off',
|
|
169
171
|
'max-params': 'off',
|
|
172
|
+
'no-array-constructor': 'off',
|
|
170
173
|
'no-dupe-class-members': 'off',
|
|
174
|
+
'no-empty-function': 'off',
|
|
175
|
+
'no-implied-eval': 'off',
|
|
171
176
|
'no-invalid-this': 'off',
|
|
172
177
|
'no-loop-func': 'off',
|
|
173
178
|
'no-loss-of-precision': 'off',
|
|
174
179
|
'no-redeclare': 'off',
|
|
175
180
|
'no-restricted-imports': 'off',
|
|
176
181
|
'no-shadow': 'off',
|
|
182
|
+
'no-throw-literal': 'off',
|
|
177
183
|
'no-unused-expressions': 'off',
|
|
184
|
+
'no-unused-vars': 'off',
|
|
178
185
|
'no-use-before-define': 'off',
|
|
186
|
+
'no-useless-constructor': 'off',
|
|
179
187
|
'prefer-destructuring': 'off',
|
|
180
188
|
'prefer-promise-reject-errors': 'off',
|
|
181
189
|
'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.112.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.
|
|
10
|
+
"@stylistic/eslint-plugin": "~1.7.0",
|
|
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.
|
|
17
|
-
"@types/eslint": "^8.56.
|
|
18
|
-
"@types/node": "^20.11.
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "~7.1
|
|
20
|
-
"@typescript-eslint/parser": "~7.1
|
|
16
|
+
"@eslint-stylistic/metadata": "~1.7.0",
|
|
17
|
+
"@types/eslint": "^8.56.6",
|
|
18
|
+
"@types/node": "^20.11.30",
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "~7.3.1",
|
|
20
|
+
"@typescript-eslint/parser": "~7.3.1",
|
|
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.34.
|
|
24
|
+
"eslint-plugin-react": "~7.34.1",
|
|
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.3"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18.18.0"
|
|
@@ -47,8 +47,8 @@
|
|
|
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.3.0",
|
|
51
|
+
"@typescript-eslint/parser": "^7.3.0",
|
|
52
52
|
"eslint": "^8.50.0",
|
|
53
53
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
54
54
|
"eslint-plugin-jest": "^27.7.0",
|