@pob/eslint-config 49.3.2 → 49.4.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,14 @@
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.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.3...v49.4.0) (2022-09-06)
7
+
8
+ **Note:** Version bump only for package @pob/eslint-config
9
+
10
+
11
+
12
+
13
+
6
14
  ## [49.3.2](https://github.com/christophehurpeau/eslint-config-pob/compare/v49.3.1...v49.3.2) (2022-07-07)
7
15
 
8
16
  **Note:** Version bump only for package @pob/eslint-config
@@ -311,6 +311,25 @@ 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',
314
333
  },
315
334
 
316
335
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "49.3.2",
3
+ "version": "49.4.0",
4
4
  "description": "eslint config files",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "pob": {},
45
45
  "peerDependencies": {
46
- "eslint": "^8.11.0",
46
+ "eslint": "^8.18.0",
47
47
  "eslint-plugin-import": "^2.25.3",
48
48
  "eslint-plugin-node": "^11.1.0",
49
- "eslint-plugin-unicorn": "^41.0.0"
49
+ "eslint-plugin-unicorn": "^43.0.0"
50
50
  },
51
51
  "peerDependenciesMeta": {
52
52
  "eslint-plugin-import": {
@@ -60,12 +60,12 @@
60
60
  }
61
61
  },
62
62
  "dependencies": {
63
- "@pob/use-eslint-plugin": "49.3.2",
63
+ "@pob/use-eslint-plugin": "49.4.0",
64
64
  "eslint-config-airbnb-base": "^15.0.0",
65
65
  "eslint-config-prettier": "^8.3.0",
66
66
  "eslint-plugin-import": "^2.25.3",
67
67
  "eslint-plugin-node": "^11.1.0",
68
- "eslint-plugin-unicorn": "^41.0.0"
68
+ "eslint-plugin-unicorn": "^43.0.0"
69
69
  },
70
- "gitHead": "f641e838bec801df7a217760606978be2298bcae"
70
+ "gitHead": "e1d0c7b1a789618798bce6441df75d2685d1e1c4"
71
71
  }