@pob/eslint-config 49.4.0 → 50.0.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 +24 -0
- package/lib/plugins/unicorn.js +15 -0
- package/package.json +21 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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
|
+
## [50.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v50.0.0...v50.0.1) (2023-03-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pob/eslint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [50.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.4.0...v50.0.0) (2022-11-20)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### chore
|
|
18
|
+
|
|
19
|
+
* drop node 14 ([9f17c1a](https://github.com/christophehurpeau/eslint-config-pob/commit/9f17c1a619c52bf46da49ce052670f48ab210b0c))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### BREAKING CHANGES
|
|
23
|
+
|
|
24
|
+
* drop node 14
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [49.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.3...v49.4.0) (2022-09-06)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @pob/eslint-config
|
package/lib/plugins/unicorn.js
CHANGED
|
@@ -330,6 +330,21 @@ module.exports = {
|
|
|
330
330
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md
|
|
331
331
|
// TODO [engine:node@>=16]: change to error
|
|
332
332
|
'unicorn/prefer-event-target': 'warn',
|
|
333
|
+
|
|
334
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md
|
|
335
|
+
'unicorn/no-unnecessary-await': 'error',
|
|
336
|
+
|
|
337
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
|
|
338
|
+
'unicorn/switch-case-braces': 'off',
|
|
339
|
+
|
|
340
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md
|
|
341
|
+
'unicorn/no-typeof-undefined': 'error',
|
|
342
|
+
|
|
343
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md
|
|
344
|
+
'unicorn/no-negated-condition': 'off',
|
|
345
|
+
|
|
346
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-size.md
|
|
347
|
+
'unicorn/prefer-set-size': 'error',
|
|
333
348
|
},
|
|
334
349
|
|
|
335
350
|
overrides: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "50.0.1",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"homepage": "https://github.com/christophehurpeau/eslint-config-pob",
|
|
14
14
|
"type": "commonjs",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": "
|
|
16
|
+
"node": ">=16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
@@ -33,20 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"scripts": {
|
|
36
|
+
"clean:build": "true",
|
|
36
37
|
"lint": "yarn run lint:eslint",
|
|
37
|
-
"lint:eslint": "
|
|
38
|
-
},
|
|
39
|
-
"prettier": {
|
|
40
|
-
"trailingComma": "all",
|
|
41
|
-
"singleQuote": true,
|
|
42
|
-
"arrowParens": "always"
|
|
38
|
+
"lint:eslint": "yarn ../.. run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet @pob/eslint-config"
|
|
43
39
|
},
|
|
40
|
+
"prettier": "@pob/root/prettier-config",
|
|
44
41
|
"pob": {},
|
|
45
42
|
"peerDependencies": {
|
|
46
|
-
"eslint": "^8.
|
|
47
|
-
"eslint-plugin-import": "^2.
|
|
43
|
+
"eslint": "^8.28.0",
|
|
44
|
+
"eslint-plugin-import": "^2.27.5",
|
|
48
45
|
"eslint-plugin-node": "^11.1.0",
|
|
49
|
-
"eslint-plugin-unicorn": "^
|
|
46
|
+
"eslint-plugin-unicorn": "^46.0.0"
|
|
50
47
|
},
|
|
51
48
|
"peerDependenciesMeta": {
|
|
52
49
|
"eslint-plugin-import": {
|
|
@@ -60,12 +57,20 @@
|
|
|
60
57
|
}
|
|
61
58
|
},
|
|
62
59
|
"dependencies": {
|
|
63
|
-
"@pob/use-eslint-plugin": "
|
|
60
|
+
"@pob/use-eslint-plugin": "50.0.0",
|
|
64
61
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
65
|
-
"eslint-config-prettier": "^8.
|
|
66
|
-
"eslint-plugin-import": "^2.
|
|
62
|
+
"eslint-config-prettier": "^8.7.0",
|
|
63
|
+
"eslint-plugin-import": "^2.27.5",
|
|
67
64
|
"eslint-plugin-node": "^11.1.0",
|
|
68
|
-
"eslint-plugin-unicorn": "^
|
|
65
|
+
"eslint-plugin-unicorn": "^46.0.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"eslint": "8.36.0",
|
|
69
|
+
"eslint-config-airbnb-base": "15.0.0",
|
|
70
|
+
"eslint-config-prettier": "8.7.0",
|
|
71
|
+
"eslint-plugin-import": "2.27.5",
|
|
72
|
+
"eslint-plugin-node": "11.1.0",
|
|
73
|
+
"eslint-plugin-unicorn": "46.0.0"
|
|
69
74
|
},
|
|
70
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "955b7fc1f163ab745505ff9112651a9b85336607"
|
|
71
76
|
}
|