@ornikar/eslint-config 18.13.0 → 19.2.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,48 @@
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
+ # [19.2.0](https://github.com/ornikar/eslint-configs/compare/v19.1.0...v19.2.0) (2022-08-19)
7
+
8
+
9
+ ### Features
10
+
11
+ * **eslint-config:** enable text-encoding-identifier-case and prefer-json-parse-buffer ARCH-1562 ([#372](https://github.com/ornikar/eslint-configs/issues/372)) ([d5dca06](https://github.com/ornikar/eslint-configs/commit/d5dca0679aa4f65de8381d23d621600d1e50f215))
12
+
13
+
14
+
15
+
16
+
17
+ # [19.1.0](https://github.com/ornikar/eslint-configs/compare/v19.0.0...v19.1.0) (2022-07-22)
18
+
19
+ **Note:** Version bump only for package @ornikar/eslint-config
20
+
21
+
22
+
23
+
24
+
25
+ # [19.0.0](https://github.com/ornikar/eslint-configs/compare/v18.13.0...v19.0.0) (2022-07-19)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * unicorn/expiring-todo-comments as error ([f56d1e7](https://github.com/ornikar/eslint-configs/commit/f56d1e748388e8168b2851177869a4c551e761b3))
31
+
32
+
33
+ ### chore
34
+
35
+ * **deps:** update dependency eslint-plugin-unicorn to v43 ([#344](https://github.com/ornikar/eslint-configs/issues/344)) ([dc66d53](https://github.com/ornikar/eslint-configs/commit/dc66d533caf6d79b5e332b8ce8e2f8c37dec962d))
36
+ * **deps:** update frontend orb to v5 ([#340](https://github.com/ornikar/eslint-configs/issues/340)) ([82a0a41](https://github.com/ornikar/eslint-configs/commit/82a0a41861001c2a3bc2927e21cc75c85094814e))
37
+
38
+
39
+ ### BREAKING CHANGES
40
+
41
+ * **deps:** requires eslint 8.18
42
+ * **deps:** requires node 16
43
+
44
+
45
+
46
+
47
+
6
48
  # [18.13.0](https://github.com/ornikar/eslint-configs/compare/v18.12.0...v18.13.0) (2022-07-01)
7
49
 
8
50
  **Note:** Version bump only for package @ornikar/eslint-config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/eslint-config",
3
- "version": "18.13.0",
3
+ "version": "19.2.0",
4
4
  "description": "eslint config files",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "main": "index.js",
11
11
  "license": "ISC",
12
12
  "engines": {
13
- "node": ">=14.17.5"
13
+ "node": ">= 16.15.1"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"
@@ -24,15 +24,15 @@
24
24
  "eslint-plugin-n": "^15.2.0",
25
25
  "eslint-plugin-security": "^1.5.0",
26
26
  "eslint-plugin-simple-import-sort": "^7.0.0",
27
- "eslint-plugin-unicorn": "^42.0.0"
27
+ "eslint-plugin-unicorn": "^43.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "eslint": "^8.9.0",
30
+ "eslint": "^8.18.0",
31
31
  "prettier": "^2.2.1"
32
32
  },
33
33
  "devDependencies": {
34
- "eslint": "8.18.0",
34
+ "eslint": "8.22.0",
35
35
  "prettier": "2.7.1"
36
36
  },
37
- "gitHead": "e03b4d1e7047cef05fdebf471b0c347fafae8781"
37
+ "gitHead": "1762b1540338849141f2dd98ed06e900051a1c79"
38
38
  }
@@ -27,7 +27,6 @@ module.exports = {
27
27
  .filter(({ selector }) => selector !== 'ForOfStatement'),
28
28
  ],
29
29
 
30
- // TODO [engine:node@>=16.6] .at only supported from node 16.6
31
- 'unicorn/prefer-at': 'off',
30
+ 'unicorn/prefer-at': 'error',
32
31
  },
33
32
  };
package/rules/unicorn.js CHANGED
@@ -112,7 +112,7 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
112
112
 
113
113
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/expiring-todo-comments.md
114
114
  'unicorn/expiring-todo-comments': [
115
- 'warn',
115
+ 'error',
116
116
  {
117
117
  allowWarningComments: false,
118
118
  ignoreDatesOnPullRequests: true,
@@ -275,10 +275,10 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
275
275
  'unicorn/relative-url-style': 'off',
276
276
 
277
277
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-json-parse-buffer.md
278
- 'unicorn/prefer-json-parse-buffer': 'off',
278
+ 'unicorn/prefer-json-parse-buffer': 'error',
279
279
 
280
280
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/text-encoding-identifier-case.md
281
- 'unicorn/text-encoding-identifier-case': 'off',
281
+ 'unicorn/text-encoding-identifier-case': 'error',
282
282
 
283
283
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-switch-case.md
284
284
  'unicorn/no-useless-switch-case': 'off',