Skip to content

Changes to the recommended config #35

@JasonWeinzierl

Description

@JasonWeinzierl

Since the recommended config was last updated in 2021, a few rules were improved or added. I'd like to add the following to the recommended config:

Additionally:

  • Change no-implicit-any-catch's allowExplicitAny to true in the recommended config in the rule's defaults.
    • It currently defaults to false. However, other rules in this plugin allow any by default, so this is inconsistent.
    • More lax codebases tend to turn this option on because they haven't banned explicit any completely.
    • We should enforce banning any more consistently in the proposed strict config: Introduce a strict config #36

Feedback is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions