@pob/eslint-config 50.0.0 → 50.0.4
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 +16 -0
- package/lib/node/_base.js +0 -4
- package/lib/plugins/unicorn.js +9 -4
- package/package.json +16 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.4](https://github.com/christophehurpeau/eslint-config-pob/compare/v50.0.3...v50.0.4) (2023-03-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pob/eslint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [50.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v50.0.0...v50.0.1) (2023-03-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @pob/eslint-config
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [50.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.4.0...v50.0.0) (2022-11-20)
|
|
7
23
|
|
|
8
24
|
|
package/lib/node/_base.js
CHANGED
package/lib/plugins/unicorn.js
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
const usePlugin = require('@pob/use-eslint-plugin');
|
|
6
|
-
|
|
7
|
-
usePlugin(require('eslint-plugin-unicorn/package.json'));
|
|
8
|
-
|
|
9
5
|
module.exports = {
|
|
10
6
|
plugins: ['unicorn'],
|
|
11
7
|
rules: {
|
|
@@ -336,6 +332,15 @@ module.exports = {
|
|
|
336
332
|
|
|
337
333
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
|
|
338
334
|
'unicorn/switch-case-braces': 'off',
|
|
335
|
+
|
|
336
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md
|
|
337
|
+
'unicorn/no-typeof-undefined': 'error',
|
|
338
|
+
|
|
339
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md
|
|
340
|
+
'unicorn/no-negated-condition': 'off',
|
|
341
|
+
|
|
342
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-size.md
|
|
343
|
+
'unicorn/prefer-set-size': 'error',
|
|
339
344
|
},
|
|
340
345
|
|
|
341
346
|
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.4",
|
|
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": {
|
|
@@ -57,12 +57,19 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@pob/use-eslint-plugin": "50.0.0",
|
|
61
60
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
62
|
-
"eslint-config-prettier": "^8.
|
|
63
|
-
"eslint-plugin-import": "^2.
|
|
61
|
+
"eslint-config-prettier": "^8.8.0",
|
|
62
|
+
"eslint-plugin-import": "^2.27.5",
|
|
64
63
|
"eslint-plugin-node": "^11.1.0",
|
|
65
|
-
"eslint-plugin-unicorn": "^
|
|
64
|
+
"eslint-plugin-unicorn": "^46.0.0"
|
|
66
65
|
},
|
|
67
|
-
"
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"eslint": "8.36.0",
|
|
68
|
+
"eslint-config-airbnb-base": "15.0.0",
|
|
69
|
+
"eslint-config-prettier": "8.8.0",
|
|
70
|
+
"eslint-plugin-import": "2.27.5",
|
|
71
|
+
"eslint-plugin-node": "11.1.0",
|
|
72
|
+
"eslint-plugin-unicorn": "46.0.0"
|
|
73
|
+
},
|
|
74
|
+
"gitHead": "dd0524b412423efa7ea950a6ff065b04f01706e2"
|
|
68
75
|
}
|