Skip to content

Latest commit

 

History

History
196 lines (123 loc) · 14 KB

CHANGELOG.md

File metadata and controls

196 lines (123 loc) · 14 KB

Changelog

4.0.0 (2022-07-04)

⚠ BREAKING CHANGES

  • drop support for node.js 10.x (#686)

Features

Bug Fixes

  • deps: update dependency eslint-config-prettier to v8 (#624) (23a4abb)
  • deps: update dependency eslint-plugin-prettier to v4 (#657) (5408bfe)
  • deps: update dependency prettier to ~2.5.0 (#660) (8789fd4)
  • deps: update dependency prettier to ~2.6.0 (#670) (2feba2c)
  • deps: update dependency prettier to ~2.7.0 (#696) (3c677fd)
  • deps: update dependency write-file-atomic to v4 (#687) (f16a3e1)
  • deps: update typescript-eslint monorepo to v5 (#688) (ed2fd0c)
  • deps: upgrade to eslint 8.x (#693) (7ae5c8b)
  • drop update notifier (#706) (cab7704)
  • pin prettier to 2.3.x (#641) (323fb4a)

Build System

3.1.0 (2021-01-11)

Features

Bug Fixes

  • deps: update dependency eslint-config-prettier to v7 (#601) (6e26681)
  • deps: upgrade to latest version of meow (#616) (634bad9)

3.0.3 (2020-12-03)

Bug Fixes

3.0.2 (2020-10-26)

Bug Fixes

3.0.1 (2020-10-12)

Bug Fixes

  • rule: turn off @typescript-eslint/no-var-requires (#578) (3b37229)

3.0.0 (2020-10-08)

⚠ BREAKING CHANGES

  • change default check to lint (#570)
  • deps: require TypeScript 4.x (#565)

Features

Bug Fixes

  • add build/.eslintrc.json to files field (#553) (3b516ad)
  • deps: require TypeScript 4.x (#565) (cbc5267)
  • deps: update dependency update-notifier to v5 (#574) (9a882bf)
  • deps: update typescript-eslint monorepo to v2.34.0 (#509) (998a4ac)
  • deps: update typescript-eslint monorepo to v3 (major) (#528) (e22e173)
  • deps: update typescript-eslint monorepo to v4 (#556) (54148df)
  • better error message for broken tsconfig.json (#501) (0c17a76)
  • prohibit calls for it.only and describe.only (#499) (071c33c)

2.0.2 (2020-05-11)

Bug Fixes

  • Revert 'update dependency eslint to v7'" (#507) (0f9950b)
  • deps: pin release of eslint-typescript (#508) (bd86b42)
  • deps: update dependency eslint to v7 (#504) (6aee159)

2.0.1 (2020-05-07)

Bug Fixes

  • throw an error if running with an unsupported version of nodejs (#493) (94fdf1e)
  • deps: update dependency meow to v7 (#502) (cf91cda)

2.0.0 (2020-04-02)

⚠ BREAKING CHANGES ⚠

This is a major rewrite of the tool. Based on community guidance, we've switched from using tslint to eslint. Please read all of the steps below to upgrade.

Configuring eslint

With the shift to eslint, gts now will format and lint JavaScript as well as TypeScript. Upgrading will require a number of manual steps. To format JavaScript and TypeScript, you can run:

$ npx gts fix

To specify only TypeScript:

$ npx gts fix '**/*.ts'

Delete tslint.json

This file is no longer used, and can lead to confusion.

Create a .eslintrc.json

Now that we're using eslint, you need to extend the eslint configuration baked into the module. Create a new file named .eslintrc.json, and paste the following:

{
  "extends": "./node_modules/gts"
}

Create a .eslintignore

The .eslintignore file lets you ignore specific directories. This tool now lints and formats JavaScript, so it's really important to ignore your build directory! Here is an example of a .eslintignore file:

**/node_modules
build/

Rule changes

The underlying linter was changed, so naturally there are going to be a variety of rule changes along the way. To see the full list, check out .eslintrc.json.

Require Node.js 10.x and up

Node.js 8.x is now end of life - this module now requires Ndoe.js 10.x and up.

Features

Bug Fixes

1.1.2 (2019-11-20)

Bug Fixes

  • deps: update to newest prettier (with support for optional chain) (#396) (ce8ad06)

1.1.1 (2019-11-11)

Bug Fixes

  • deps: update dependency chalk to v3 (#389) (1ce0f45)
  • deps: update dependency inquirer to v7 (#377) (bf2c349)
  • deps: update dependency rimraf to v3 (#374) (2058eaa)
  • deps: update dependency write-file-atomic to v3 (#353) (59e6aa8)