@metamask/eslint-config
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -9,6 +9,12 @@ # Changelog | ||
## [3.0.1] - 2020-08-19 | ||
## [3.2.0] - 2020-08-20 | ||
### Changed | ||
- Relax `prefer-destructuring` rules (#57) | ||
## [3.1.0] - 2020-08-19 | ||
### Changed | ||
- Disable prefer-object-spread (#54) | ||
@@ -76,4 +82,5 @@ | ||
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v3.0.1...HEAD | ||
[3.0.1]:https://github.com/MetaMask/eslint-config/compare/v3.0.0...v3.0.1 | ||
[Unreleased]:https://github.com/MetaMask/eslint-config/compare/v3.2.0...HEAD | ||
[3.2.0]:https://github.com/MetaMask/eslint-config/compare/v3.1.0...v3.2.0 | ||
[3.1.0]:https://github.com/MetaMask/eslint-config/compare/v3.0.0...v3.1.0 | ||
[3.0.0]:https://github.com/MetaMask/eslint-config/compare/v2.2.0...v3.0.0 | ||
@@ -80,0 +87,0 @@ [2.2.0]:https://github.com/MetaMask/eslint-config/compare/v2.1.1...v2.2.0 |
@@ -245,3 +245,18 @@ module.exports = { | ||
'prefer-const': 'error', | ||
'prefer-destructuring': 'error', | ||
'prefer-destructuring': [ | ||
'error', | ||
{ | ||
'VariableDeclarator': { | ||
'array': false, | ||
'object': true, | ||
}, | ||
'AssignmentExpression': { | ||
'array': false, | ||
'object': false, | ||
}, | ||
}, | ||
{ | ||
'enforceForRenamedProperties': false, | ||
}, | ||
], | ||
'prefer-exponentiation-operator': 'off', | ||
@@ -248,0 +263,0 @@ 'prefer-named-capture-group': 'off', |
{ | ||
"name": "@metamask/eslint-config", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Shareable MetaMask ESLint config", | ||
@@ -5,0 +5,0 @@ "main": "config/index.js", |
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
30061
586