Skip to content

Latest commit

 

History

History
106 lines (91 loc) · 6.74 KB

CHANGELOG.md

File metadata and controls

106 lines (91 loc) · 6.74 KB

Changelog

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.

Changed

  • Exclude test files from package (#266)

Changed

  • Allow async functions without any 'await' (#262)
  • Allow parameters to use PascalCase (#264)

Added

  • 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)

Changed

Changed

  • 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.

Added

  • BREAKING: Add JSDoc ESLint rules (#203)

Changed

  • 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.

Changed

  • BREAKING: The peer dependency @metamask/eslint-config has been updated from v7 to v8.

Fixed

  • Restore default parserOptions.ecmaVersion (#193)
    • In some cases, parserOptions.ecmaVersion could be set to an incorrect version. The ecmaVersion is now explicitly set to 2020, matching the corresponding setting in env.

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 - 2021-04-08

Changed

  • 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)
  • 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 version 6.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.
  • Update eslint and other ESLint peer dependencies (#151)