@pob/eslint-config 55.2.1 → 55.3.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 +12 -0
- package/lib/rules/style.js +2 -2
- package/package.json +6 -20
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [55.3.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v55.2.1...v55.3.0) (2024-05-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* change curly to warn and add test ([a7644d6](https://github.com/christophehurpeau/eslint-config-pob/commit/a7644d682c131988b54083409e22cdd7e66067d0))
|
|
12
|
+
* change quote rule to warn and add test ([d7e8893](https://github.com/christophehurpeau/eslint-config-pob/commit/d7e88931c6830ebfc46adc0c28d6bbd505f56f37))
|
|
13
|
+
* remove optional peer dependencies ([0fd390f](https://github.com/christophehurpeau/eslint-config-pob/commit/0fd390fe8ff412e1159393e45e5ef49a5f3908b5))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [55.2.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v55.2.0...v55.2.1) (2024-04-21)
|
|
7
19
|
|
|
8
20
|
|
package/lib/rules/style.js
CHANGED
|
@@ -11,12 +11,12 @@ module.exports = {
|
|
|
11
11
|
|
|
12
12
|
// https://github.com/prettier/eslint-config-prettier#curly
|
|
13
13
|
// prettier doesn't enforce {} with multiline
|
|
14
|
-
curly: ['
|
|
14
|
+
curly: ['warn', 'multi-line'],
|
|
15
15
|
|
|
16
16
|
// https://github.com/prettier/eslint-config-prettier#quotes
|
|
17
17
|
// prettier doesn't change backtick to single
|
|
18
18
|
quotes: [
|
|
19
|
-
'
|
|
19
|
+
'warn',
|
|
20
20
|
'single',
|
|
21
21
|
{ avoidEscape: true, allowTemplateLiterals: false },
|
|
22
22
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "55.
|
|
3
|
+
"version": "55.3.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -44,32 +44,18 @@
|
|
|
44
44
|
"pob": {},
|
|
45
45
|
"prettier": "@pob/root/prettier-config",
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"eslint": "^8.56.0"
|
|
48
|
-
"eslint-plugin-import": "^2.29.1",
|
|
49
|
-
"eslint-plugin-n": "^17.2.1",
|
|
50
|
-
"eslint-plugin-unicorn": "^51.0.1"
|
|
51
|
-
},
|
|
52
|
-
"peerDependenciesMeta": {
|
|
53
|
-
"eslint-plugin-import": {
|
|
54
|
-
"optional": true
|
|
55
|
-
},
|
|
56
|
-
"eslint-plugin-n": {
|
|
57
|
-
"optional": true
|
|
58
|
-
},
|
|
59
|
-
"eslint-plugin-unicorn": {
|
|
60
|
-
"optional": true
|
|
61
|
-
}
|
|
47
|
+
"eslint": "^8.56.0"
|
|
62
48
|
},
|
|
63
49
|
"dependencies": {
|
|
64
50
|
"confusing-browser-globals": "^1.0.11",
|
|
65
51
|
"eslint-plugin-import": "^2.29.1",
|
|
66
|
-
"eslint-plugin-n": "^17.
|
|
67
|
-
"eslint-plugin-unicorn": "^
|
|
52
|
+
"eslint-plugin-n": "^17.4.0",
|
|
53
|
+
"eslint-plugin-unicorn": "^52.0.0"
|
|
68
54
|
},
|
|
69
55
|
"devDependencies": {
|
|
70
56
|
"eslint": "8.57.0",
|
|
71
57
|
"eslint-plugin-import": "2.29.1",
|
|
72
|
-
"eslint-plugin-n": "17.
|
|
73
|
-
"eslint-plugin-unicorn": "
|
|
58
|
+
"eslint-plugin-n": "17.4.0",
|
|
59
|
+
"eslint-plugin-unicorn": "52.0.0"
|
|
74
60
|
}
|
|
75
61
|
}
|