@pob/eslint-config 49.4.0 → 50.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 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.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.4.0...v50.0.0) (2022-11-20)
7
+
8
+
9
+ ### chore
10
+
11
+ * drop node 14 ([9f17c1a](https://github.com/christophehurpeau/eslint-config-pob/commit/9f17c1a619c52bf46da49ce052670f48ab210b0c))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * drop node 14
17
+
18
+
19
+
20
+
21
+
6
22
  # [49.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.3...v49.4.0) (2022-09-06)
7
23
 
8
24
  **Note:** Version bump only for package @pob/eslint-config
@@ -330,6 +330,12 @@ module.exports = {
330
330
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md
331
331
  // TODO [engine:node@>=16]: change to error
332
332
  'unicorn/prefer-event-target': 'warn',
333
+
334
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md
335
+ 'unicorn/no-unnecessary-await': 'error',
336
+
337
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
338
+ 'unicorn/switch-case-braces': 'off',
333
339
  },
334
340
 
335
341
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "49.4.0",
3
+ "version": "50.0.0",
4
4
  "description": "eslint config files",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
@@ -13,7 +13,7 @@
13
13
  "homepage": "https://github.com/christophehurpeau/eslint-config-pob",
14
14
  "type": "commonjs",
15
15
  "engines": {
16
- "node": "^14.13.1 || >=16.0.0"
16
+ "node": ">=16.0.0"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"
@@ -33,20 +33,17 @@
33
33
  },
34
34
  "sideEffects": false,
35
35
  "scripts": {
36
+ "clean:build": "true",
36
37
  "lint": "yarn run lint:eslint",
37
- "lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet @pob/eslint-config"
38
- },
39
- "prettier": {
40
- "trailingComma": "all",
41
- "singleQuote": true,
42
- "arrowParens": "always"
38
+ "lint:eslint": "yarn ../.. run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet @pob/eslint-config"
43
39
  },
40
+ "prettier": "@pob/root/prettier-config",
44
41
  "pob": {},
45
42
  "peerDependencies": {
46
- "eslint": "^8.18.0",
43
+ "eslint": "^8.23.1",
47
44
  "eslint-plugin-import": "^2.25.3",
48
45
  "eslint-plugin-node": "^11.1.0",
49
- "eslint-plugin-unicorn": "^43.0.0"
46
+ "eslint-plugin-unicorn": "^44.0.0"
50
47
  },
51
48
  "peerDependenciesMeta": {
52
49
  "eslint-plugin-import": {
@@ -60,12 +57,12 @@
60
57
  }
61
58
  },
62
59
  "dependencies": {
63
- "@pob/use-eslint-plugin": "49.4.0",
60
+ "@pob/use-eslint-plugin": "50.0.0",
64
61
  "eslint-config-airbnb-base": "^15.0.0",
65
62
  "eslint-config-prettier": "^8.3.0",
66
63
  "eslint-plugin-import": "^2.25.3",
67
64
  "eslint-plugin-node": "^11.1.0",
68
- "eslint-plugin-unicorn": "^43.0.0"
65
+ "eslint-plugin-unicorn": "^44.0.0"
69
66
  },
70
- "gitHead": "e1d0c7b1a789618798bce6441df75d2685d1e1c4"
67
+ "gitHead": "f03cb93834e93396aa748e95b8154f1fea2da193"
71
68
  }