Skip to content

🚀 Feature: Add suggestions to parameter-properties rule #11

Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

Overview

Right now, the erasable-syntax-only/parameter-properties rule only reports a message on parameter properties. It doesn't provide any suggestions for how to fix them. Let's add one in to switch to traditional class properties.

Additional Info

As a part of this work, the docs/rules/parameter-properties.md docs file should be added to as well. Right now it just has a straightforward codeblock. A PR fixing this issue should:

  • Put a sub-heading on top of the existing example enum: ## Invalid Code
  • Add another code block under a ## Valid Code with what the rule would suggest

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsPlease, send a pull request to resolve this! 🙏type: featureNew enhancement or request 🚀

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions