@ornikar/eslint-config 19.1.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,17 @@
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
+
6
17
  # [19.1.0](https://github.com/ornikar/eslint-configs/compare/v19.0.0...v19.1.0) (2022-07-22)
7
18
 
8
19
  **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": "19.1.0",
3
+ "version": "19.2.0",
4
4
  "description": "eslint config files",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,8 +31,8 @@
31
31
  "prettier": "^2.2.1"
32
32
  },
33
33
  "devDependencies": {
34
- "eslint": "8.20.0",
34
+ "eslint": "8.22.0",
35
35
  "prettier": "2.7.1"
36
36
  },
37
- "gitHead": "4180e9bf0224be4d4e9ec2227ae460c0903bfb36"
37
+ "gitHead": "1762b1540338849141f2dd98ed06e900051a1c79"
38
38
  }
package/rules/unicorn.js CHANGED
@@ -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',