@pob/eslint-config 50.0.5 → 51.0.1

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,29 @@
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
+ ## [51.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v51.0.0...v51.0.1) (2023-07-29)
7
+
8
+ **Note:** Version bump only for package @pob/eslint-config
9
+
10
+
11
+
12
+
13
+
14
+ ## [51.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v50.0.5...v51.0.0) (2023-06-26)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * enabled unicorn rules
20
+ * drop node 16
21
+
22
+ ### Features
23
+
24
+ * enable some unicorn rules with node 18 ([f8da0b1](https://github.com/christophehurpeau/eslint-config-pob/commit/f8da0b1e7e26c3338500684c3527285b68aadb37))
25
+ * update to node 18 ([ab295c6](https://github.com/christophehurpeau/eslint-config-pob/commit/ab295c6d2fd08e9fdb69e7566d6b0239861f646b))
26
+
27
+
28
+
6
29
  ## [50.0.5](https://github.com/christophehurpeau/eslint-config-pob/compare/v50.0.4...v50.0.5) (2023-05-08)
7
30
 
8
31
  **Note:** Version bump only for package @pob/eslint-config
@@ -6,7 +6,7 @@ module.exports = {
6
6
  plugins: ['unicorn'],
7
7
  rules: {
8
8
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/catch-error-name.md
9
- 'unicorn/catch-error-name': ['error', { name: 'err' }],
9
+ 'unicorn/catch-error-name': 'error',
10
10
 
11
11
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/explicit-length-check.md
12
12
  'unicorn/explicit-length-check': 'error',
@@ -65,9 +65,6 @@ module.exports = {
65
65
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/error-message.md
66
66
  'unicorn/error-message': 'error',
67
67
 
68
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-regex.md
69
- 'unicorn/no-unsafe-regex': 'error',
70
-
71
68
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-add-event-listener.md
72
69
  'unicorn/prefer-add-event-listener': 'error',
73
70
 
@@ -228,7 +225,7 @@ module.exports = {
228
225
  'unicorn/prefer-switch': 'error',
229
226
 
230
227
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md
231
- 'unicorn/prefer-node-protocol': 'off',
228
+ 'unicorn/prefer-node-protocol': 'error',
232
229
 
233
230
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-module.md
234
231
  // unicorn/prefer-module is enabled in node configs.
@@ -259,8 +256,7 @@ module.exports = {
259
256
  'unicorn/prefer-top-level-await': 'error',
260
257
 
261
258
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
262
- // use when node 14 support drop
263
- 'unicorn/prefer-at': 'off',
259
+ 'unicorn/prefer-at': 'error',
264
260
 
265
261
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-object-from-entries.md
266
262
  'unicorn/prefer-object-from-entries': 'error',
@@ -324,8 +320,7 @@ module.exports = {
324
320
  'unicorn/prefer-logical-operator-over-ternary': 'error',
325
321
 
326
322
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md
327
- // TODO [engine:node@>=16]: change to error
328
- 'unicorn/prefer-event-target': 'warn',
323
+ 'unicorn/prefer-event-target': 'error',
329
324
 
330
325
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-await.md
331
326
  'unicorn/no-unnecessary-await': 'error',
@@ -341,6 +336,9 @@ module.exports = {
341
336
 
342
337
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-set-size.md
343
338
  'unicorn/prefer-set-size': 'error',
339
+
340
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-blob-reading-methods.md
341
+ 'unicorn/prefer-blob-reading-methods': 'error',
344
342
  },
345
343
 
346
344
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "50.0.5",
3
+ "version": "51.0.1",
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": ">=16.0.0"
16
+ "node": ">=18.12.0"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"
@@ -41,9 +41,9 @@
41
41
  "pob": {},
42
42
  "peerDependencies": {
43
43
  "eslint": "^8.28.0",
44
- "eslint-plugin-import": "^2.27.5",
44
+ "eslint-plugin-import": "^2.28.0",
45
45
  "eslint-plugin-node": "^11.1.0",
46
- "eslint-plugin-unicorn": "^46.0.1"
46
+ "eslint-plugin-unicorn": "^48.0.1"
47
47
  },
48
48
  "peerDependenciesMeta": {
49
49
  "eslint-plugin-import": {
@@ -58,18 +58,18 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "eslint-config-airbnb-base": "^15.0.0",
61
- "eslint-config-prettier": "^8.8.0",
62
- "eslint-plugin-import": "^2.27.5",
61
+ "eslint-config-prettier": "^8.9.0",
62
+ "eslint-plugin-import": "^2.28.0",
63
63
  "eslint-plugin-node": "^11.1.0",
64
- "eslint-plugin-unicorn": "^46.0.1"
64
+ "eslint-plugin-unicorn": "^48.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "eslint": "8.37.0",
67
+ "eslint": "8.46.0",
68
68
  "eslint-config-airbnb-base": "15.0.0",
69
- "eslint-config-prettier": "8.8.0",
70
- "eslint-plugin-import": "2.27.5",
69
+ "eslint-config-prettier": "8.9.0",
70
+ "eslint-plugin-import": "2.28.0",
71
71
  "eslint-plugin-node": "11.1.0",
72
- "eslint-plugin-unicorn": "46.0.1"
72
+ "eslint-plugin-unicorn": "48.0.1"
73
73
  },
74
- "gitHead": "ae2c1a1aa13062f3ca43464ab4ec84c9696bb541"
74
+ "gitHead": "fbfdd9ebc96b01bc05135e06efaf0a4981a47a9a"
75
75
  }