@pob/eslint-config 48.0.0 → 48.0.5

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 CHANGED
@@ -3,6 +3,51 @@
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
+ ## [48.0.5](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.4...v48.0.5) (2021-12-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add ignorePatterns in root configs ([a70086d](https://github.com/christophehurpeau/eslint-config-pob/commit/a70086db27321aea807a3a07a5a3a0f40b3aa1cd))
12
+
13
+
14
+
15
+
16
+
17
+ ## [48.0.4](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.3...v48.0.4) (2021-12-11)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * sourceType script ([e10cfb2](https://github.com/christophehurpeau/eslint-config-pob/commit/e10cfb26541eee59858730ec0e25bd58b9ccdfa1))
23
+
24
+
25
+
26
+
27
+
28
+ ## [48.0.3](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.2...v48.0.3) (2021-12-11)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * make sure cjs files are treated as commonjs ([de37d3d](https://github.com/christophehurpeau/eslint-config-pob/commit/de37d3dbbb4e3b1edbe75541f380b4d99e051385))
34
+ * use ecmaVersion 2022 for node ([6fd0f78](https://github.com/christophehurpeau/eslint-config-pob/commit/6fd0f7847e208d7a66cbf98a99858572dd8f1ac7))
35
+
36
+
37
+
38
+
39
+
40
+ ## [48.0.2](https://github.com/christophehurpeau/eslint-config-pob/compare/v48.0.1...v48.0.2) (2021-12-11)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * use ecmaVersion 2021 for node ([0994815](https://github.com/christophehurpeau/eslint-config-pob/commit/099481583a26e4d244070ccef5339f8a65c2079c))
46
+
47
+
48
+
49
+
50
+
6
51
  # [48.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v47.1.0...v48.0.0) (2021-12-11)
7
52
 
8
53
 
@@ -10,8 +10,9 @@ module.exports = {
10
10
  parserOptions: {
11
11
  // https://node.green/#ES2020
12
12
  // most 2020 features are supported in node 14
13
+ // top level await is introduced in 2022
13
14
  // current ecmaVersion in eslint-plugin-node is 2019
14
- ecmaVersion: 2020,
15
+ ecmaVersion: 2022,
15
16
  },
16
17
 
17
18
  rules: {
@@ -9,8 +9,9 @@ module.exports = {
9
9
  sourceType: 'module',
10
10
  // https://node.green/#ES2020
11
11
  // most 2020 features are supported in node 14
12
+ // top level await is introduced in 2022
12
13
  // current ecmaVersion in eslint-plugin-node is 2019
13
- ecmaVersion: 2020,
14
+ ecmaVersion: 2022,
14
15
  },
15
16
  env,
16
17
  rules: {
@@ -38,7 +39,12 @@ module.exports = {
38
39
  {
39
40
  files: ['*.cjs'],
40
41
  extends: ['plugin:node/recommended-script'],
42
+ parserOptions: {
43
+ sourceType: 'script',
44
+ ecmaVersion: 2022,
45
+ },
41
46
  rules: {
47
+ strict: ['error', 'safe'],
42
48
  ...overrideRules,
43
49
  'unicorn/prefer-module': 'off',
44
50
  },
@@ -2,4 +2,5 @@
2
2
 
3
3
  module.exports = {
4
4
  extends: ['./node-commonjs', './rules/dev-only'].map(require.resolve),
5
+ ignorePatterns: ['**/node_modules/**'],
5
6
  };
@@ -2,4 +2,5 @@
2
2
 
3
3
  module.exports = {
4
4
  extends: ['./node-module', './rules/dev-only'].map(require.resolve),
5
+ ignorePatterns: ['**/node_modules/**'],
5
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "48.0.0",
3
+ "version": "48.0.5",
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": "^39.0.0"
68
68
  },
69
- "gitHead": "f986b939a1ac44728423a7d5466e633529da47ea"
69
+ "gitHead": "3f9b922690b5ed972b2a3fa477f3057bcee46f8d"
70
70
  }