kentcdodds / eslint-config-kentcdodds

ESLint configuration for projects that I do... Feel free to use this!
http://eslint.org/docs/user-guide/configuring#extending-configuration-files
MIT License
340 stars 65 forks source link

Support for Newer TypeScript Versions #136

Closed davidinoa closed 10 months ago

davidinoa commented 10 months ago

Feature Request

Summary:

This issue is a proposal to add support for newer versions of TypeScript (e.g., 5.x)

Background:

Currently, eslint-config-kentcdodds specifies TypeScript ^4.0.0 as a peer dependency. Projects using newer TypeScript versions may encounter compatibility issues with the current version of eslint-config-kentcdodds.

Proposal:

I propose updating the peerDependencies in the package.json to include TypeScript 5.x versions. This update would allow users of eslint-config-kentcdodds to take advantage of the latest TypeScript features while ensuring compatibility and linting effectiveness.

Potential Challenges:

Ensuring that the existing rules and configurations are compatible with TypeScript 5.x.

Benefits:

Suggested Implementation:

Update the peerDependencies in package.json to include "typescript": ">=4.0.0 <6.0.0" (or a more appropriate version range).

If necessary, review and update configurations and rules to ensure compatibility with TypeScript 5.x.

Looking Forward:

I am willing to help implement this feature and address any potential challenges. I look forward to hearing the community's input and guidance on this proposal.

kentcdodds commented 10 months ago

I'm definitely open to a pull request, but I don't use this config myself much anymore so it's hard to justify spending time working on it.

github-actions[bot] commented 10 months ago

:tada: This issue has been resolved in version 21.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: