@metamask/eslint-config-jest
Advanced tools
Comparing version 10.0.0 to 11.0.0
@@ -9,5 +9,10 @@ # Changelog | ||
## [11.0.0] | ||
### Changed | ||
- **BREAKING:** Bump all ESLint dependencies to the latest version ([#252](https://github.com/MetaMask/eslint-config/pull/252)) | ||
- This includes peer dependencies. | ||
## [10.0.0] | ||
### Changed | ||
- **(BREAKING)** Update ESLint from v7 to v8 ([#233](https://github.com/MetaMask/eslint-config/pull/233)) | ||
- **BREAKING:** Update ESLint from v7 to v8 ([#233](https://github.com/MetaMask/eslint-config/pull/233)) | ||
- This is breaking because `eslint` is a `peerDependency`. | ||
@@ -19,15 +24,15 @@ - Four new rules have been added: | ||
- [`no-useless-backreference`](https://eslint.org/docs/latest/rules/no-useless-backreference) | ||
- **(BREAKING)** Bump eslint-plugin-jest to ^26.x ([#228](https://github.com/MetaMask/eslint-config/pull/228)) | ||
- **BREAKING:** Bump eslint-plugin-jest to ^26.x ([#228](https://github.com/MetaMask/eslint-config/pull/228)) | ||
- This is breaking because `eslint-plugin-jest` is a `peerDependency` | ||
- The rule [`jest/prefer-to-be`](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/prefer-to-be.md) has replaced the old rules `jest/prefer-to-be-null` and `jest/prefer-to-be-undefined`. This is breaking because it is more broadly applicable than the two it replaces, and may force us to use `toBe` for all primatives (over `toBeEqual` or equivalent). | ||
- Two rules were renamed (`jest/valid-describe` => `jest/valid-describe-callback`, and `jest/lowercase-name` => `jest/prefer-lowercase-title`) | ||
- **(BREAKING)** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) | ||
- **BREAKING:** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) | ||
## [9.0.0] | ||
### Added | ||
- **BREAKING** Add JSDoc ESLint rules ([#203](https://github.com/MetaMask/eslint-config/pull/203)) | ||
- **BREAKING:** Add JSDoc ESLint rules ([#203](https://github.com/MetaMask/eslint-config/pull/203)) | ||
## [8.0.0] | ||
### Changed | ||
- ***BREAKING*** The peer dependency `@metamask/eslint-config` has been updated from v7 to v8. | ||
- **BREAKING:** The peer dependency `@metamask/eslint-config` has been updated from v7 to v8. | ||
@@ -44,3 +49,3 @@ ## [7.0.0] | ||
### Changed | ||
- **(BREAKING)** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144)) | ||
- **BREAKING:** Set minimum Node.js version to `^12.0.0` ([#144](https://github.com/MetaMask/eslint-config/pull/144)) | ||
- Publish this config as its own package ([#141](https://github.com/MetaMask/eslint-config/pull/141)) | ||
@@ -52,3 +57,4 @@ - The contents of this package were previously published as part of [`@metamask/eslint-config`](https://npmjs.com/package/@metamask/eslint-config). | ||
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v11.0.0...HEAD | ||
[11.0.0]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...v11.0.0 | ||
[10.0.0]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...v10.0.0 | ||
@@ -55,0 +61,0 @@ [9.0.0]: https://github.com/MetaMask/eslint-config/compare/v8.0.0...v9.0.0 |
{ | ||
"name": "@metamask/eslint-config-jest", | ||
"version": "10.0.0", | ||
"version": "11.0.0", | ||
"description": "Shareable MetaMask ESLint config for Jest.", | ||
"main": "src/index.js", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/", | ||
"access": "public" | ||
"homepage": "https://github.com/MetaMask/eslint-config#readme", | ||
"bugs": { | ||
"url": "https://github.com/MetaMask/eslint-config/issues" | ||
}, | ||
"files": [ | ||
"src/" | ||
], | ||
"engines": { | ||
"node": ">=14.0.0" | ||
}, | ||
"scripts": { | ||
"test": "eslint .", | ||
"publish": "npm publish" | ||
}, | ||
"repository": { | ||
@@ -25,21 +14,34 @@ "type": "git", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/MetaMask/eslint-config/issues" | ||
"main": "src/index.js", | ||
"files": [ | ||
"src/" | ||
], | ||
"scripts": { | ||
"lint:changelog": "auto-changelog validate", | ||
"publish": "npm publish", | ||
"test": "eslint ." | ||
}, | ||
"homepage": "https://github.com/MetaMask/eslint-config#readme", | ||
"devDependencies": { | ||
"@metamask/eslint-config": "^10.0.0", | ||
"eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"@metamask/auto-changelog": "^3.0.0", | ||
"@metamask/eslint-config": "^11.0.0", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^26.8.2", | ||
"eslint-plugin-jsdoc": "^39.2.9", | ||
"eslint-plugin-jest": "^27.1.5", | ||
"eslint-plugin-jsdoc": "^39.6.2", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.2.1" | ||
"prettier": "^2.7.1" | ||
}, | ||
"peerDependencies": { | ||
"@metamask/eslint-config": "^10.0.0", | ||
"eslint": "^8.21.0", | ||
"eslint-plugin-jest": "^26.8.2" | ||
"@metamask/eslint-config": "^11.0.0", | ||
"eslint": "^8.27.0", | ||
"eslint-plugin-jest": "^27.1.5" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
@@ -9,11 +9,11 @@ # `@metamask/eslint-config-jest` | ||
yarn add --dev \ | ||
@metamask/eslint-config@^9.0.0 \ | ||
@metamask/eslint-config-jest@^9.0.0 \ | ||
eslint@^7.23.0 \ | ||
eslint-config-prettier@^8.1.0 \ | ||
eslint-plugin-import@^2.22.1 \ | ||
eslint-plugin-jsdoc@^39.2.9 \ | ||
eslint-plugin-jest@^24.1.3 \ | ||
eslint-plugin-prettier@^3.3.1 \ | ||
prettier@^2.2.1 | ||
@metamask/eslint-config@^11.0.0 \ | ||
@metamask/eslint-config-jest@^11.0.0 \ | ||
eslint@^8.27.0 \ | ||
eslint-config-prettier@^8.5.0 \ | ||
eslint-plugin-import@^2.26.0 \ | ||
eslint-plugin-jsdoc@^39.6.2 \ | ||
eslint-plugin-jest@^27.1.5 \ | ||
eslint-plugin-prettier@^4.2.1 \ | ||
prettier@^2.7.1 | ||
``` | ||
@@ -20,0 +20,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8535
6
46
9