All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Exclude test files from package (#266)
- BREAKING: Add rules that require type information (#250)
- This requires setting some parser options. See the README for more details.
- BREAKING: Bump all ESLint dependencies to the latest version (#252)
- This includes peer dependencies.
- BREAKING: Forbid TypeScript's private modifier in favour of hash names (#244)
- BREAKING: Update ESLint from v7 to v8 (#233)
- This is breaking because
eslint
is apeerDependency
. - Four new rules have been added:
- This is breaking because
- BREAKING: Update
@typescript-eslint
parser and plugin (#230)- This is breaking because these two packages are
peerDependencies
- There are two new rules:
- This is breaking because these two packages are
- BREAKING: Update minimium Node.js version to v14 (#225)
- BREAKING: Forbid TypeScript interfaces (#216)
- Ignore rest siblings for
no-unused-vars
(#213)- This makes the
no-unused-vars
rule more permissive
- This makes the
- Disable
@typescript-eslint/no-throw-literal
(#210)- The introduction of this rule was one of the two breaking changes in the previous release. It was included unintentionally, and has now been removed to make updating to v9 easier.
- BREAKING: Add JSDoc ESLint rules (#203)
- BREAKING: Disable
no-throw-literal
and enable@typescript-eslint/no-throw-literal
(#201)- This rule requires type information, which requires additional project setup.
- Note: This change has been undone in v9.0.1. You can ignore this change if you're updating to v9.0.1 or greater.
- BREAKING: The peer dependency
@metamask/eslint-config
has been updated from v7 to v8.
- 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,
- 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)
- 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 - 2021-04-08
- BREAKING: Set minimum Node.js version to
^12.0.0
(#144) - BREAKING: Set ECMAScript version to
es2020
/11
(#150) - BREAKING: Enable all rules recommended by the
@typescript-eslint
plugin (#156)- This amounted to setting the following core ESLint rules to
error
:
- This amounted to setting the following core ESLint rules to
- Publish this config as its own package (#141)
- The contents of this package were previously published as part of
@metamask/eslint-config
. For changes prior to version6.0.0
, please refer to the changelog of that package. - To continue extending this config, install this package and update your
.eslintrc.js
extends
array to include@metamask/eslint-config-typescript
instead of@metamask/eslint-config/typescript
.
- The contents of this package were previously published as part of
- Update
eslint
and other ESLint peer dependencies (#151)