Skip to content

Issue 1: Consider stricter Typescript Eslint recommended ruleset #3

@PrinceSajjadHussain

Description

@PrinceSajjadHussain

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 project property: You'll need to specify a project property in languageOptions that points to your tsconfig.json file 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**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions