Releases: MetaMask/eslint-config
Releases · MetaMask/eslint-config
9.0.1
9.0.0
@metamask/eslint-config
Added
- BREAKING Add JSDoc ESLint rules (#203)
@metamask/eslint-config-jest
Added
- BREAKING Add JSDoc ESLint rules (#203)
@metamask/eslint-config-mocha
Added
- BREAKING Add JSDoc ESLint rules (#203)
@metamask/eslint-config-nodejs
Added
- BREAKING Add JSDoc ESLint rules (#203)
@metamask/eslint-config-typescript
Added
- BREAKING Add JSDoc ESLint rules (#203)
8.0.0
7.0.1
@metamask/eslint-config
Fixed
- Restore default
parserOptions
(#193)- By extending the recommended
eslint-plugin-import
rules, we accidentally changed the defaultparserOptions.sourceType
tomodule
.
ThesourceType
is now explicitly set toscript
. - In some cases,
parserOptions.ecmaVersion
could also be set to an incorrect version.
TheecmaVersion
is now explicitly set to2017
, matching the corresponding setting inenv
.
- By extending the recommended
@metamask/eslint-config-nodejs
Fixed
- Restore default
parserOptions
(#193)- By extending the recommended
eslint-plugin-import
rules, we accidentally changed the defaultparserOptions.sourceType
tomodule
.
ThesourceType
is now explicitly set toscript
. - In some cases,
parserOptions.ecmaVersion
could also be set to an incorrect version.
TheecmaVersion
is now explicitly set to2017
, matching the corresponding setting inenv
.
- By extending the recommended
@metamask/eslint-config-typescript
Fixed
- Restore default
parserOptions.ecmaVersion
(#193)- In some cases,
parserOptions.ecmaVersion
could be set to an incorrect version.
TheecmaVersion
is now explicitly set to2020
, matching the corresponding setting inenv
.
- In some cases,
7.0.0
@metamask/eslint-config
Changed
- (BREAKING) Update Prettier
quoteProps
rule toas-needed
(#181) - (BREAKING) Update ESLint
no-shadow
config (#168) - Use recommended
eslint-plugin-import
rule sets (#184)- This only removed or disabled rules, and is not breaking.
- Update install instructions in readme (#185)
- Normalize rule config values (#169)
@metamask/eslint-config-jest
Changed
- Update install instructions in readme (#185)
Fixed
- Add
@metamask/eslint-config
as a peer dependency (#186)- This package is designed to be used in conjunction with the MetaMask base ESLint config, so this should always have been a peer dependency.
@metamask/eslint-config-mocha
Changed
- Update install instructions in readme (#185)
Fixed
- Add
@metamask/eslint-config
as a peer dependency (#186)- This package is designed to be used in conjunction with the MetaMask base ESLint config, so this should always have been a peer dependency.
@metamask/eslint-config-nodejs
Changed
- Update install instructions in readme (#185)
Fixed
- Add
@metamask/eslint-config
as a peer dependency (#186)- This package is designed to be used in conjunction with the MetaMask base ESLint config, so this should always have been a peer dependency.
@metamask/eslint-config-typescript
Changed
- (BREAKING) Update
@typescript/no-shadow
config (#168) - Use recommended
eslint-plugin-import
rule sets (#184)- This only removed or disabled rules, and is not breaking.
- Update install instructions in readme (#185)
Fixed
- Add
@metamask/eslint-config
as a peer dependency (#186)- This package is designed to be used in conjunction with the MetaMask base ESLint config, so this should always have been a peer dependency.
6.0.0
(BREAKING) All configs are now published as separate packages, and must be extended by referencing their package names:
@metamask/eslint-config
(the base config)@metamask/eslint-config-jest
@metamask/eslint-config-mocha
@metamask/eslint-config-nodejs
@metamask/eslint-config-typescript
See individual package changelogs for their specific changes: