@pob/eslint-config 49.3.2 → 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,30 @@
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
+
22
+ # [49.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.3...v49.4.0) (2022-09-06)
23
+
24
+ **Note:** Version bump only for package @pob/eslint-config
25
+
26
+
27
+
28
+
29
+
6
30
  ## [49.3.2](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.1...v49.3.2) (2022-07-07)
7
31
 
8
32
  **Note:** Version bump only for package @pob/eslint-config
@@ -311,6 +311,31 @@ module.exports = {
311
311
 
312
312
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/text-encoding-identifier-case.md
313
313
  'unicorn/text-encoding-identifier-case': 'error',
314
+
315
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-native-coercion-functions.md
316
+ 'unicorn/prefer-native-coercion-functions': 'error',
317
+
318
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unreadable-iife.md
319
+ 'unicorn/no-unreadable-iife': 'error',
320
+
321
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-modern-math-apis.md
322
+ 'unicorn/prefer-modern-math-apis': 'warn',
323
+
324
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-switch-case.md
325
+ 'unicorn/no-useless-switch-case': 'off',
326
+
327
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md
328
+ 'unicorn/prefer-logical-operator-over-ternary': 'error',
329
+
330
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md
331
+ // TODO [engine:node@>=16]: change to error
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',
314
339
  },
315
340
 
316
341
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "49.3.2",
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.11.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": "^41.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.3.2",
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": "^41.0.0"
65
+ "eslint-plugin-unicorn": "^44.0.0"
69
66
  },
70
- "gitHead": "f641e838bec801df7a217760606978be2298bcae"
67
+ "gitHead": "f03cb93834e93396aa748e95b8154f1fea2da193"
71
68
  }