@dg-scripts/eslint-config 5.21.2 → 5.21.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/index.js +1 -2
- package/package.json +6 -6
package/index.js
CHANGED
|
@@ -98,7 +98,6 @@ const eslintConfigPromise = {
|
|
|
98
98
|
plugins: {
|
|
99
99
|
promise: eslintPluginPromise,
|
|
100
100
|
},
|
|
101
|
-
// @ts-expect-error -- Allow assign `string` (error/warn/off) to `RuleEntry`.
|
|
102
101
|
rules: {
|
|
103
102
|
...eslintPluginPromise.configs.recommended.rules,
|
|
104
103
|
'promise/always-return': [
|
|
@@ -147,7 +146,7 @@ const eslintConfigAntfu = {
|
|
|
147
146
|
export default antfu(
|
|
148
147
|
{
|
|
149
148
|
typescript: {
|
|
150
|
-
tsconfigPath:
|
|
149
|
+
tsconfigPath: 'tsconfig.json',
|
|
151
150
|
},
|
|
152
151
|
...eslintConfigAntfu,
|
|
153
152
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dg-scripts/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.21.
|
|
4
|
+
"version": "5.21.3",
|
|
5
5
|
"description": "ESLint configuration used by dg-scripts.",
|
|
6
6
|
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@antfu/eslint-config": "^2.
|
|
59
|
-
"@eslint-react/eslint-plugin": "^1.5.
|
|
58
|
+
"@antfu/eslint-config": "^2.23.1",
|
|
59
|
+
"@eslint-react/eslint-plugin": "^1.5.28",
|
|
60
60
|
"@eslint/eslintrc": "^3.1.0",
|
|
61
61
|
"eslint-plugin-format": "^0.1.2",
|
|
62
|
-
"eslint-plugin-promise": "^6.
|
|
62
|
+
"eslint-plugin-promise": "^6.5.1",
|
|
63
63
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
64
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.4.8",
|
|
65
65
|
"eslint-plugin-security": "^3.0.1",
|
|
66
66
|
"eslint-plugin-testing-library": "^6.2.2",
|
|
67
67
|
"local-pkg": "^0.5.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "33a9ef85979e8e04af80f9577eca064158e8a070"
|
|
70
70
|
}
|