@dg-scripts/eslint-config 5.20.1 → 5.21.1
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/CHANGELOG.md +28 -0
- package/index.js +6 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.21.1](https://github.com/sabertazimi/bod/compare/v5.21.0...v5.21.1) (2024-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @dg-scripts/eslint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [5.21.0](https://github.com/sabertazimi/bod/compare/v5.20.1...v5.21.0) (2024-04-20)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **deps:** update dependencies (non-major) ([#1165](https://github.com/sabertazimi/bod/issues/1165)) ([cb2a01b](https://github.com/sabertazimi/bod/commit/cb2a01bc747bd24ca419501a45a5baf923278dbf))
|
|
20
|
+
* **deps:** update dependencies (non-major) ([#1170](https://github.com/sabertazimi/bod/issues/1170)) ([ed0a2cc](https://github.com/sabertazimi/bod/commit/ed0a2cc5fdc6062ac4605cec66de9269abddacbe))
|
|
21
|
+
* **deps:** update dependencies (non-major) ([#1176](https://github.com/sabertazimi/bod/issues/1176)) ([f33d8ea](https://github.com/sabertazimi/bod/commit/f33d8ea9e936d6ec890d003a83ad69fd4cbce0cb))
|
|
22
|
+
* **deps:** update dependency eslint-plugin-security to v3 ([#1181](https://github.com/sabertazimi/bod/issues/1181)) ([1adb9e0](https://github.com/sabertazimi/bod/commit/1adb9e086488bde2213a15049b4fc54b01d5969b))
|
|
23
|
+
* **eslint-config:** allow last `then` not return ([#1169](https://github.com/sabertazimi/bod/issues/1169)) ([061c950](https://github.com/sabertazimi/bod/commit/061c950bca59c0c7e02ffd9ab49d4699ecf03243))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **eslint:** migrate from eslint-plugin-react to [@eslint-react](https://github.com/eslint-react) ([#1184](https://github.com/sabertazimi/bod/issues/1184)) ([20836f6](https://github.com/sabertazimi/bod/commit/20836f61127f2a636c5a42198d34bc2f3bde94b8))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
## [5.20.1](https://github.com/sabertazimi/bod/compare/v5.20.0...v5.20.1) (2024-04-02)
|
|
7
35
|
|
|
8
36
|
|
package/index.js
CHANGED
|
@@ -98,6 +98,12 @@ const eslintConfigPromise = {
|
|
|
98
98
|
// @ts-expect-error -- Allow assign `string` (error/warn/off) to `RuleEntry`.
|
|
99
99
|
rules: {
|
|
100
100
|
...eslintPluginPromise.configs.recommended.rules,
|
|
101
|
+
'promise/always-return': [
|
|
102
|
+
'error',
|
|
103
|
+
{
|
|
104
|
+
ignoreLastCallback: true,
|
|
105
|
+
},
|
|
106
|
+
],
|
|
101
107
|
},
|
|
102
108
|
}
|
|
103
109
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dg-scripts/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.21.1",
|
|
5
5
|
"description": "ESLint configuration used by dg-scripts.",
|
|
6
6
|
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@antfu/eslint-config": "^2.
|
|
52
|
+
"@antfu/eslint-config": "^2.15.0",
|
|
53
|
+
"@eslint-react/eslint-plugin": "^1.5.9",
|
|
53
54
|
"@eslint/eslintrc": "^3.0.2",
|
|
54
|
-
"eslint-plugin-format": "^0.1.
|
|
55
|
+
"eslint-plugin-format": "^0.1.1",
|
|
55
56
|
"eslint-plugin-promise": "^6.1.1",
|
|
56
|
-
"eslint-plugin-react": "^7.34.1",
|
|
57
57
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
58
58
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
59
|
-
"eslint-plugin-security": "^
|
|
60
|
-
"eslint-plugin-testing-library": "^6.2.
|
|
59
|
+
"eslint-plugin-security": "^3.0.0",
|
|
60
|
+
"eslint-plugin-testing-library": "^6.2.2",
|
|
61
61
|
"local-pkg": "^0.5.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "2776229a50118815f46374aed1db5f5028ae6d66"
|
|
64
64
|
}
|