@pob/eslint-config 47.0.0 → 47.1.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 +11 -0
- package/lib/node/commonjs.js +8 -0
- package/lib/node/module.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
# [47.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v47.0.1...v47.1.0) (2021-12-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **eslint-config:** use ecmaVersion 2020 for node ([fef96a1](https://github.com/christophehurpeau/eslint-config-pob/commit/fef96a15a243059e6c553283239c93cbbc35614a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [47.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v46.0.0...v47.0.0) (2021-11-14)
|
|
7
18
|
|
|
8
19
|
|
package/lib/node/commonjs.js
CHANGED
|
@@ -6,6 +6,14 @@ module.exports = {
|
|
|
6
6
|
plugins: ['node'],
|
|
7
7
|
extends: ['plugin:node/recommended-script'],
|
|
8
8
|
env,
|
|
9
|
+
|
|
10
|
+
parserOptions: {
|
|
11
|
+
// https://node.green/#ES2020
|
|
12
|
+
// most 2020 features are supported in node 14
|
|
13
|
+
// current ecmaVersion in eslint-plugin-node is 2019
|
|
14
|
+
ecmaVersion: 2020,
|
|
15
|
+
},
|
|
16
|
+
|
|
9
17
|
rules: {
|
|
10
18
|
...overrideRules,
|
|
11
19
|
'unicorn/prefer-module': 'off',
|
package/lib/node/module.js
CHANGED
|
@@ -7,6 +7,10 @@ module.exports = {
|
|
|
7
7
|
extends: ['plugin:node/recommended-module'],
|
|
8
8
|
parserOptions: {
|
|
9
9
|
sourceType: 'module',
|
|
10
|
+
// https://node.green/#ES2020
|
|
11
|
+
// most 2020 features are supported in node 14
|
|
12
|
+
// current ecmaVersion in eslint-plugin-node is 2019
|
|
13
|
+
ecmaVersion: 2020,
|
|
10
14
|
},
|
|
11
15
|
env,
|
|
12
16
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.1.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"eslint-plugin-node": "^11.1.0",
|
|
67
67
|
"eslint-plugin-unicorn": "^38.0.1"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "c1d92717bb016fb773eb8f8bdab07b2732014279"
|
|
70
70
|
}
|