Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eslint-config - npm Package Compare versions

Comparing version 9.0.0 to 10.0.0

18

CHANGELOG.md

@@ -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

20

package.json
{
"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 @@ ],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc