@pob/eslint-config 48.0.4 → 49.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 +38 -0
- package/lib/node/commonjs.js +4 -0
- package/lib/plugins/unicorn.js +12 -0
- package/lib/root-commonjs.js +1 -0
- package/lib/root-module.js +1 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
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
|
+
# [49.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.1.1...v49.0.0) (2022-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pob/eslint-config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [48.1.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.1.0...v48.1.1) (2022-02-06)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* support latest ecma version in mjs files ([873404e](https://github.com/christophehurpeau/eslint-config-pob/commit/873404ee659c50b10937b25329fc695fdbd436f9))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [48.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.7...v48.1.0) (2022-01-30)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @pob/eslint-config
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [48.0.5](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.4...v48.0.5) (2021-12-12)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* add ignorePatterns in root configs ([a70086d](https://github.com/christophehurpeau/eslint-config-pob/commit/a70086db27321aea807a3a07a5a3a0f40b3aa1cd))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
## [48.0.4](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.3...v48.0.4) (2021-12-11)
|
|
7
45
|
|
|
8
46
|
|
package/lib/node/commonjs.js
CHANGED
package/lib/plugins/unicorn.js
CHANGED
|
@@ -296,6 +296,18 @@ module.exports = {
|
|
|
296
296
|
|
|
297
297
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-expression-member.md
|
|
298
298
|
'unicorn/no-await-expression-member': 'error',
|
|
299
|
+
|
|
300
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-thenable.md
|
|
301
|
+
'unicorn/no-thenable': 'off',
|
|
302
|
+
|
|
303
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-promise-resolve-reject.md
|
|
304
|
+
'unicorn/no-useless-promise-resolve-reject': 'error',
|
|
305
|
+
|
|
306
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/relative-url-style.md
|
|
307
|
+
'unicorn/relative-url-style': ['error', 'always'],
|
|
308
|
+
|
|
309
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-json-parse-buffer.md
|
|
310
|
+
'unicorn/prefer-json-parse-buffer': 'error',
|
|
299
311
|
},
|
|
300
312
|
|
|
301
313
|
overrides: [
|
package/lib/root-commonjs.js
CHANGED
package/lib/root-module.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "49.0.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint": "^8.4.1",
|
|
46
46
|
"eslint-plugin-import": "^2.25.3",
|
|
47
47
|
"eslint-plugin-node": "^11.1.0",
|
|
48
|
-
"eslint-plugin-unicorn": "^
|
|
48
|
+
"eslint-plugin-unicorn": "^40.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"eslint-plugin-import": {
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@pob/use-eslint-plugin": "
|
|
62
|
+
"@pob/use-eslint-plugin": "49.0.0",
|
|
63
63
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
64
64
|
"eslint-config-prettier": "^8.3.0",
|
|
65
65
|
"eslint-plugin-import": "^2.25.3",
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
|
-
"eslint-plugin-unicorn": "^
|
|
67
|
+
"eslint-plugin-unicorn": "^40.1.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "a4352957b160405dcae368d23d02a8596b18b725"
|
|
70
70
|
}
|