@zendeskgarden/eslint-config
Advanced tools
Comparing version 22.0.0 to 23.0.0
@@ -5,2 +5,34 @@ # Changelog | ||
## [23.0.0](https://github.com/zendeskgarden/eslint-config/compare/v22.0.0...v23.0.0) (2021-10-16) | ||
### ⚠ BREAKING CHANGES | ||
* **deps:** upgrade to `eslint` v8.0.0. | ||
Plugin dependency versions: | ||
- `@typescript-eslint/eslint-plugin` ^5.0.0 | ||
- `@typescript-eslint/parser` ^5.0.0 | ||
- `eslint-plugin-jest` ^25.2.0 | ||
- `eslint-plugin-jsx-a11y` ^6.4.0 | ||
- `eslint-plugin-react` ^7.26.0 | ||
- `eslint-plugin-react-hooks` ^4.2.0 | ||
Co-authored-by: Renovate Bot <bot@renovateapp.com> | ||
Co-authored-by: Jonathan Zempel <jzempel@gmail.com> | ||
* **deps:** add `jest/require-hook` rule. | ||
Plugin dependency versions: | ||
- `@typescript-eslint/eslint-plugin` ^4.33.0 | ||
- `eslint-plugin-jest` ^24.7.0 | ||
- `eslint-plugin-jsx-a11y` ^6.4.0 | ||
- `eslint-plugin-react` ^7.26.0 | ||
- `eslint-plugin-react-hooks` ^4.2.0 | ||
Co-authored-by: Renovate Bot <bot@renovateapp.com> | ||
Co-authored-by: Jonathan Zempel <jzempel@gmail.com> | ||
* **deps:** update all non-major dependencies ([#172](https://github.com/zendeskgarden/eslint-config/issues/172)) ([daf7799](https://github.com/zendeskgarden/eslint-config/commit/daf7799e4d8e5cccfa2982e6e5005bd4e8bb4332)) | ||
* **deps:** update dependency eslint to v8 ([#173](https://github.com/zendeskgarden/eslint-config/issues/173)) ([c22840b](https://github.com/zendeskgarden/eslint-config/commit/c22840bfb61ea2f2ce295612538b19db67bcba91)) | ||
## [22.0.0](https://github.com/zendeskgarden/eslint-config/compare/v21.0.0...v22.0.0) (2021-10-07) | ||
@@ -7,0 +39,0 @@ |
{ | ||
"name": "@zendeskgarden/eslint-config", | ||
"version": "22.0.0", | ||
"version": "23.0.0", | ||
"description": "Garden ESLint config", | ||
@@ -26,22 +26,22 @@ "license": "Apache-2.0", | ||
"babel-eslint": "^10.0.0", | ||
"eslint": "^7.15.0", | ||
"eslint": "^8.0.0", | ||
"eslint-plugin-node": "^11.1.0" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "4.32.0", | ||
"@typescript-eslint/parser": "4.32.0", | ||
"@typescript-eslint/eslint-plugin": "5.0.0", | ||
"@typescript-eslint/parser": "5.0.0", | ||
"babel-eslint": "10.1.0", | ||
"eslint": "7.32.0", | ||
"eslint-plugin-jest": "24.5.0", | ||
"eslint": "8.0.1", | ||
"eslint-plugin-jest": "25.2.1", | ||
"eslint-plugin-jsx-a11y": "6.4.1", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-notice": "0.9.10", | ||
"eslint-plugin-react": "7.26.0", | ||
"eslint-plugin-react": "7.26.1", | ||
"eslint-plugin-react-hooks": "4.2.0", | ||
"husky": "7.0.2", | ||
"jest": "27.2.4", | ||
"jest": "27.2.5", | ||
"prettier-package-json": "2.6.0", | ||
"react": "17.0.2", | ||
"standard-version": "9.3.1", | ||
"typescript": "4.4.3" | ||
"typescript": "4.4.4" | ||
}, | ||
@@ -48,0 +48,0 @@ "keywords": [ |
@@ -16,4 +16,2 @@ /** | ||
'jest/expect-expect': 2, | ||
// enforce lowercase test names | ||
'jest/lowercase-name': [1, { ignore: ['describe'] }], | ||
// disallow alias methods | ||
@@ -69,2 +67,4 @@ 'jest/no-alias-methods': 2, | ||
'jest/prefer-hooks-on-top': 0, | ||
// enforce lowercase test names | ||
'jest/prefer-lowercase-title': [1, { ignore: ['describe'] }], | ||
// suggest using `jest.spyOn()` | ||
@@ -82,2 +82,4 @@ 'jest/prefer-spy-on': 0, | ||
'jest/prefer-todo': 1, | ||
// require setup and teardown code to be within a hook | ||
'jest/require-hook': 2, | ||
// require a message for `toThrow()` | ||
@@ -88,3 +90,3 @@ 'jest/require-to-throw-message': 0, | ||
// enforce valid `describe()` callback | ||
'jest/valid-describe': 2, | ||
'jest/valid-describe-callback': 2, | ||
// enforce valid `expect()` usage | ||
@@ -91,0 +93,0 @@ 'jest/valid-expect': 2, |
96740
1454