-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The current ESLint configuration only uses the tseslint.configs.recommended ruleset. While this provides a good baseline, it might be beneficial to consider a stricter ruleset like tseslint.configs.recommended-type-checked or tseslint.configs.stylistic-type-checked. These stricter rulesets enable more advanced static analysis and catch potential errors that might be missed by the base recommendation. This would involve updating the extends array within the second configuration object of tseslint.config in eslint.config.js. However, this might lead to more linting errors that need to be addressed. Evaluate the benefits of stricter rules against the potential workload of fixing reported issues.
Specifically, consider the following impact of migrating to recommended-type-checked:
- Requires
projectproperty: You'll need to specify aprojectproperty inlanguageOptionsthat points to yourtsconfig.jsonfile so TypeScript can use the type checker. - Increased scrutiny: Rules like no-explicit-any, no-unused-vars, and other type-related rules will be more strictly enforced.
**Issue 2: Tailwind: Missing PurgeCSS configuration in Production**