@ornikar/eslint-config 18.11.0 → 19.0.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/CHANGELOG.md +47 -0
- package/package.json +7 -7
- package/rules/node-override.js +1 -2
- package/rules/unicorn.js +2 -2
- package/tests-override.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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
|
+
# [19.0.0](https://github.com/ornikar/eslint-configs/compare/v18.13.0...v19.0.0) (2022-07-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* unicorn/expiring-todo-comments as error ([f56d1e7](https://github.com/ornikar/eslint-configs/commit/f56d1e748388e8168b2851177869a4c551e761b3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### chore
|
|
15
|
+
|
|
16
|
+
* **deps:** update dependency eslint-plugin-unicorn to v43 ([#344](https://github.com/ornikar/eslint-configs/issues/344)) ([dc66d53](https://github.com/ornikar/eslint-configs/commit/dc66d533caf6d79b5e332b8ce8e2f8c37dec962d))
|
|
17
|
+
* **deps:** update frontend orb to v5 ([#340](https://github.com/ornikar/eslint-configs/issues/340)) ([82a0a41](https://github.com/ornikar/eslint-configs/commit/82a0a41861001c2a3bc2927e21cc75c85094814e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### BREAKING CHANGES
|
|
21
|
+
|
|
22
|
+
* **deps:** requires eslint 8.18
|
|
23
|
+
* **deps:** requires node 16
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# [18.13.0](https://github.com/ornikar/eslint-configs/compare/v18.12.0...v18.13.0) (2022-07-01)
|
|
30
|
+
|
|
31
|
+
**Note:** Version bump only for package @ornikar/eslint-config
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# [18.12.0](https://github.com/ornikar/eslint-configs/compare/v18.11.0...v18.12.0) (2022-06-08)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* tests override extends from parent configs [no issue] ([#325](https://github.com/ornikar/eslint-configs/issues/325)) ([5364d72](https://github.com/ornikar/eslint-configs/commit/5364d72b10b105d6d6c1f8925578821a15db516c))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **eslint-config:** no-array-push-push [no issue] ([#324](https://github.com/ornikar/eslint-configs/issues/324)) ([88bc3d9](https://github.com/ornikar/eslint-configs/commit/88bc3d93c8ff2ff139ff7cb6f9c7adea8fb0390c))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [18.11.0](https://github.com/ornikar/eslint-configs/compare/v18.10.0...v18.11.0) (2022-06-07)
|
|
7
54
|
|
|
8
55
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">= 16.15.1"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"eslint-plugin-n": "^15.2.0",
|
|
25
25
|
"eslint-plugin-security": "^1.5.0",
|
|
26
26
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
27
|
-
"eslint-plugin-unicorn": "^
|
|
27
|
+
"eslint-plugin-unicorn": "^43.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"eslint": "^8.
|
|
30
|
+
"eslint": "^8.18.0",
|
|
31
31
|
"prettier": "^2.2.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"eslint": "8.
|
|
35
|
-
"prettier": "2.
|
|
34
|
+
"eslint": "8.19.0",
|
|
35
|
+
"prettier": "2.7.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "0172549705e53f3c81acb96093b8bd8c00dd6b20"
|
|
38
38
|
}
|
package/rules/node-override.js
CHANGED
package/rules/unicorn.js
CHANGED
|
@@ -112,7 +112,7 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
|
|
|
112
112
|
|
|
113
113
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/expiring-todo-comments.md
|
|
114
114
|
'unicorn/expiring-todo-comments': [
|
|
115
|
-
'
|
|
115
|
+
'error',
|
|
116
116
|
{
|
|
117
117
|
allowWarningComments: false,
|
|
118
118
|
ignoreDatesOnPullRequests: true,
|
|
@@ -215,7 +215,7 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
|
|
|
215
215
|
'unicorn/no-array-for-each': 'off',
|
|
216
216
|
|
|
217
217
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-push-push.md
|
|
218
|
-
'unicorn/no-array-push-push': '
|
|
218
|
+
'unicorn/no-array-push-push': 'error',
|
|
219
219
|
|
|
220
220
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-this-assignment.md
|
|
221
221
|
'unicorn/no-this-assignment': 'off',
|