@pob/eslint-config 50.0.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 +8 -0
- package/lib/plugins/unicorn.js +9 -0
- package/package.json +16 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
|
|
6
14
|
# [50.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.4.0...v50.0.0) (2022-11-20)
|
|
7
15
|
|
|
8
16
|
|
package/lib/plugins/unicorn.js
CHANGED
|
@@ -336,6 +336,15 @@ module.exports = {
|
|
|
336
336
|
|
|
337
337
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
|
|
338
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',
|
|
339
348
|
},
|
|
340
349
|
|
|
341
350
|
overrides: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "50.0.
|
|
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/)",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"prettier": "@pob/root/prettier-config",
|
|
41
41
|
"pob": {},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"eslint": "^8.
|
|
44
|
-
"eslint-plugin-import": "^2.
|
|
43
|
+
"eslint": "^8.28.0",
|
|
44
|
+
"eslint-plugin-import": "^2.27.5",
|
|
45
45
|
"eslint-plugin-node": "^11.1.0",
|
|
46
|
-
"eslint-plugin-unicorn": "^
|
|
46
|
+
"eslint-plugin-unicorn": "^46.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"eslint-plugin-import": {
|
|
@@ -59,10 +59,18 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@pob/use-eslint-plugin": "50.0.0",
|
|
61
61
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
62
|
-
"eslint-config-prettier": "^8.
|
|
63
|
-
"eslint-plugin-import": "^2.
|
|
62
|
+
"eslint-config-prettier": "^8.7.0",
|
|
63
|
+
"eslint-plugin-import": "^2.27.5",
|
|
64
64
|
"eslint-plugin-node": "^11.1.0",
|
|
65
|
-
"eslint-plugin-unicorn": "^
|
|
65
|
+
"eslint-plugin-unicorn": "^46.0.0"
|
|
66
66
|
},
|
|
67
|
-
"
|
|
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"
|
|
74
|
+
},
|
|
75
|
+
"gitHead": "955b7fc1f163ab745505ff9112651a9b85336607"
|
|
68
76
|
}
|