Skip to content

[RFC] Add strict config(s) for optioned rules #1005

@ShGKme

Description

@ShGKme

Problem

Some rules are simple:

  • Don't require semantic changes (e.g. renaming a variable or changing declaration context)
  • Always work well (e.g. trailing comma never hurts)
  • Can be auto-fixed

However, some rules are problematic to apply:

  • Require semantic changes
  • Make readability worth in some cases
  • Require significant manual changes (e.g. rewriting component to TS or renaming components)
  • Can be auto-fixed, but with LARGE changes
  • Or just too discussable

Examples:

Proposal

Instead of hot discussions, local rule overrides and avoiding "painful" rules, we can provide them in a additional config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions