ESLint configuration for projects that I do... Feel free to use this!
by kentcdoddsJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Hi! I am working on a larger eslint preset factory which imports existing presets to merge/harmonize them. The actual logic happens on a factory level (before eslint execution) and imports existing presets to merge them. Unfortunately, with the latest release of this preset our mechanics are not working anymore. Commenting out this: from and everything is fine again. Including this line again results into the following error: I am actually not sure if there is an alternative way for solving this. Maybe splitting the actual configuration from the user entry point. How do you feel about this?
Hi, thanks so much for sharing your great dev utils with the world. This is an attempt to make the library work with TS5, here's what was done in this PR (in addition to updating deps and adding new rules): Fixed #136 Fixed #114 Removed deprecated rules Bumped node version to 18 (previous are no longer supported) Removed (because it's deprecated) and was turned off in favor of Some rules were renamed, e.g. ⇒ , ⇒ Added to the matrix in GH actions If there's anything else that should be fixed, please let me know.
Feature Request Summary: This issue is a proposal to add support for newer versions of TypeScript (e.g., 5.x) Background: Currently, specifies TypeScript ^4.0.0 as a peer dependency. Projects using newer TypeScript versions may encounter compatibility issues with the current version of . Proposal: I propose updating the peerDependencies in the package.json to include TypeScript 5.x versions. This update would allow users of 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: Keeps up-to-date with the latest TypeScript developments. Expands the user base by supporting projects that have upgraded to TypeScript 5.x. Improves developer experience for those using the latest TypeScript features. 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.
Repository: kentcdodds/eslint-config-kentcdodds. Description: ESLint configuration for projects that I do... Feel free to use this! Stars: 340, Forks: 61. Primary language: JavaScript. Languages: JavaScript (99.7%), Shell (0.3%). License: MIT. Homepage: http://eslint.org/docs/user-guide/configuring#extending-configuration-files Topics: eslint-config, personal-config. Latest release: v21.0.0 (2y ago). Open PRs: 0, open issues: 3. Last activity: 2y ago. Community health: 71%. Top contributors: MichaelDeBoey, kentcdodds, greenkeeperio-bot, allcontributors[bot], ultrox, huchenme, BarryThePenguin, zack9433, Dattaya, weyert and others.