@metamask/eslint-config
Advanced tools
Comparing version 9.0.0 to 10.0.0
@@ -9,2 +9,17 @@ # Changelog | ||
## [10.0.0] | ||
### Changed | ||
- **(BREAKING)** Update ESLint from v7 to v8 ([#233](https://github.com/MetaMask/eslint-config/pull/233)) | ||
- This is breaking because `eslint` is a `peerDependency`. | ||
- Four new rules have been added: | ||
- [`no-loss-of-precision`](https://eslint.org/docs/latest/rules/no-loss-of-precision) | ||
- [`no-nonoctal-decimal-escape`](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) | ||
- [`no-unsafe-optional-chaining`](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) | ||
- [`no-useless-backreference`](https://eslint.org/docs/latest/rules/no-useless-backreference) | ||
- **(BREAKING)** Update `eslint-plugin-prettier` from v3 to v4 ([#231](https://github.com/MetaMask/eslint-config/pull/231)) | ||
- This is breaking beacuse `eslint-plugin-prettier` is a `peerDependency`. | ||
- **(BREAKING)** Update minimium Node.js version to v14 ([#225](https://github.com/MetaMask/eslint-config/pull/225)) | ||
- Ignore rest siblings for `no-unused-vars` ([#213](https://github.com/MetaMask/eslint-config/pull/213)) | ||
- This makes the `no-unused-vars` rule more permissive | ||
## [9.0.0] | ||
@@ -120,3 +135,4 @@ ### Added | ||
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...HEAD | ||
[Unreleased]: https://github.com/MetaMask/eslint-config/compare/v10.0.0...HEAD | ||
[10.0.0]: https://github.com/MetaMask/eslint-config/compare/v9.0.0...v10.0.0 | ||
[9.0.0]: https://github.com/MetaMask/eslint-config/compare/v8.0.0...v9.0.0 | ||
@@ -123,0 +139,0 @@ [8.0.0]: https://github.com/MetaMask/eslint-config/compare/v7.0.1...v8.0.0 |
{ | ||
"name": "@metamask/eslint-config", | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"description": "Shareable MetaMask ESLint config.", | ||
@@ -14,3 +14,3 @@ "main": "src/index.js", | ||
"engines": { | ||
"node": ">=12.0.0" | ||
"node": ">=14.0.0" | ||
}, | ||
@@ -31,17 +31,17 @@ "scripts": { | ||
"devDependencies": { | ||
"eslint": "^7.23.0", | ||
"eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jsdoc": "^36.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^39.2.9", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.2.1" | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^7.23.0", | ||
"eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jsdoc": "^36.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^39.2.9", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"prettier": "^2.2.1" | ||
} | ||
} |
@@ -15,3 +15,3 @@ # `@metamask/eslint-config` | ||
eslint-plugin-import@^2.22.1 \ | ||
eslint-plugin-jsdoc@^36.1.0 \ | ||
eslint-plugin-jsdoc@^39.2.9 \ | ||
eslint-plugin-prettier@^3.3.1 \ | ||
@@ -18,0 +18,0 @@ prettier@^2.2.1 |
@@ -166,2 +166,3 @@ module.exports = { | ||
argsIgnorePattern: '[_]+', | ||
ignoreRestSiblings: true, | ||
}, | ||
@@ -168,0 +169,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20178
329
0