@zendeskgarden/eslint-config 44.0.0 → 45.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": "44.0.0",
3
+ "version": "45.0.0",
4
4
  "description": "Garden ESLint config",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -24,31 +24,31 @@
24
24
  "test": "npm run format && npm run lint && git diff --quiet"
25
25
  },
26
26
  "dependencies": {
27
- "@babel/eslint-parser": "7.25.1",
28
- "eslint-plugin-jest": "28.8.3",
29
- "eslint-plugin-jsx-a11y": "6.10.0",
30
- "eslint-plugin-n": "17.10.2",
27
+ "@babel/eslint-parser": "7.25.9",
28
+ "eslint-plugin-jest": "28.9.0",
29
+ "eslint-plugin-jsx-a11y": "6.10.2",
30
+ "eslint-plugin-n": "17.15.0",
31
31
  "eslint-plugin-notice": "1.0.0",
32
- "eslint-plugin-react": "7.36.0",
33
- "eslint-plugin-react-hooks": "4.6.2",
34
- "globals": "15.9.0",
35
- "typescript-eslint": "8.5.0"
32
+ "eslint-plugin-react": "7.37.2",
33
+ "eslint-plugin-react-hooks": "5.1.0",
34
+ "globals": "15.13.0",
35
+ "typescript-eslint": "8.18.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "eslint": "^9.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.25.2",
42
- "@eslint/config-inspector": "0.5.4",
43
- "@zendeskgarden/scripts": "2.4.2",
44
- "commit-and-tag-version": "12.4.3",
41
+ "@babel/core": "7.26.0",
42
+ "@eslint/config-inspector": "0.6.0",
43
+ "@zendeskgarden/scripts": "2.4.3",
44
+ "commit-and-tag-version": "12.5.0",
45
45
  "envalid": "8.0.0",
46
- "eslint": "9.10.0",
47
- "husky": "9.1.6",
46
+ "eslint": "9.17.0",
47
+ "husky": "9.1.7",
48
48
  "jest": "29.7.0",
49
49
  "prettier-package-json": "2.8.0",
50
- "react": "18.3.1",
51
- "typescript": "5.6.2"
50
+ "react": "19.0.0",
51
+ "typescript": "5.7.2"
52
52
  },
53
53
  "keywords": [
54
54
  "eslint",
@@ -113,6 +113,8 @@ export default {
113
113
  '@typescript-eslint/no-unsafe-member-access': 2,
114
114
  // disallows returning any from a function
115
115
  '@typescript-eslint/no-unsafe-return': 2,
116
+ // disallow type assertions that narrow a type
117
+ '@typescript-eslint/no-unsafe-type-assertion': 2,
116
118
  // require unary negation to take a number
117
119
  '@typescript-eslint/no-unsafe-unary-minus': 2,
118
120
  // prefers a non-null assertion over explicit type cast when possible
@@ -147,6 +149,8 @@ export default {
147
149
  '@typescript-eslint/prefer-string-starts-ends-with': 2,
148
150
  // requires any function or method that returns a Promise to be marked async
149
151
  '@typescript-eslint/promise-function-async': 2,
152
+ // enforce that `get()` types should be assignable to their equivalent `set()` type
153
+ '@typescript-eslint/related-getter-setter-pairs': 2,
150
154
  // requires `Array#sort` calls to always provide a `compareFunction`
151
155
  '@typescript-eslint/require-array-sort-compare': 1,
152
156
  // disallow async functions which have no `await` expression