thoughtbot / eslint-config

A sharable ESLint configuration that enforces thoughtbot’s JavaScript guides.
https://thoughtbot.com
MIT License
10 stars 1 forks source link

Update TypeScript peerDependency to allow earlier versions #5

Closed stevehanson closed 1 year ago

stevehanson commented 1 year ago

The specified TypeScript version, 4.9.4, was released fairly recently. There's no need to lock TypeScript down to such a recent version, as it will cause errors when installing this config for folks using earlier versions of TypeScript.

pangolingo commented 1 year ago

I confirmed that this change resolved my peer dependency conflicts when using Typescript v4.7.2.

(Tested by NPM installing from this branch: npm install git@github.com:thoughtbot/eslint-config.git#upgrade-ts-peer-dep --save-dev)

stevehanson commented 1 year ago

Thanks, @pangolingo. This has been released in 1.0.1.