Skip to content

Latest commit

 

History

History
77 lines (77 loc) · 3.2 KB

04-enhancement-new-base-rule-extension.yaml

File metadata and controls

77 lines (77 loc) · 3.2 KB
NameAboutLabelsAssignees
✨ Propose a New Base Rule ExtensionPropose a new base lint rule extensionenhancement: new base rule extension,package: eslint-plugin,triage

What is a "Base Rule Extension"?

In some cases, ESLint provides a rule itself, but it doesn't support TypeScript syntax; either it crashes, or it ignores the syntax, or it falsely reports against it.
In these cases, we create what we call an extension rule; a rule within our plugin that has the same functionality, but also supports TypeScript.

Before You File a Proposal Please Confirm You Have Done The Following...

If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!

My proposal is suitable for this project

Please provide the link to the base rule's documentation

Explain what your proposed extension rule would do and why this is useful.

Specify an example of code that should be detected and errored on.

Specify an example of code that would be accepted in its place

Any additional info you'd like to provide.