@zendeskgarden/eslint-config 32.0.0 → 33.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/eslint-config",
3
- "version": "32.0.0",
3
+ "version": "33.0.0",
4
4
  "description": "Garden ESLint config",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -27,23 +27,23 @@
27
27
  "eslint-plugin-node": "^11.1.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@babel/core": "7.20.12",
31
- "@babel/eslint-parser": "7.19.1",
32
- "@typescript-eslint/eslint-plugin": "5.50.0",
33
- "@typescript-eslint/parser": "5.50.0",
34
- "eslint": "8.33.0",
35
- "eslint-plugin-jest": "27.2.1",
30
+ "@babel/core": "7.22.8",
31
+ "@babel/eslint-parser": "7.22.7",
32
+ "@typescript-eslint/eslint-plugin": "5.61.0",
33
+ "@typescript-eslint/parser": "5.61.0",
34
+ "eslint": "8.44.0",
35
+ "eslint-plugin-jest": "27.2.2",
36
36
  "eslint-plugin-jsx-a11y": "6.7.1",
37
37
  "eslint-plugin-node": "11.1.0",
38
38
  "eslint-plugin-notice": "0.9.10",
39
39
  "eslint-plugin-react": "7.32.2",
40
40
  "eslint-plugin-react-hooks": "4.6.0",
41
41
  "husky": "8.0.3",
42
- "jest": "29.4.1",
42
+ "jest": "29.6.1",
43
43
  "prettier-package-json": "2.8.0",
44
44
  "react": "18.2.0",
45
45
  "standard-version": "9.5.0",
46
- "typescript": "4.9.5"
46
+ "typescript": "5.1.6"
47
47
  },
48
48
  "keywords": [
49
49
  "eslint",
@@ -31,6 +31,8 @@ module.exports = {
31
31
  '@typescript-eslint/no-base-to-string': 2,
32
32
  // requires expressions of type void to appear in statement position
33
33
  '@typescript-eslint/no-confusing-void-expression': 2,
34
+ // disallows duplicate union or intersection type members
35
+ '@typescript-eslint/no-duplicate-type-constituents': 2,
34
36
  // requires Promise-like values to be handled appropriately
35
37
  '@typescript-eslint/no-floating-promises': 2,
36
38
  // disallow iterating over an array with a for-in loop
@@ -60,6 +62,8 @@ module.exports = {
60
62
  '@typescript-eslint/no-unsafe-assignment': 2,
61
63
  // disallows calling an any type value
62
64
  '@typescript-eslint/no-unsafe-call': 2,
65
+ // disallow literals where enums are expected
66
+ '@typescript-eslint/no-unsafe-enum-comparison': 2,
63
67
  // disallows member access on any typed variables
64
68
  '@typescript-eslint/no-unsafe-member-access': 2,
65
69
  // disallows returning any from a function