Create custom rule to verify a core rule has required `meta` properties
See original GitHub issueThis came out of a conversation with @pedrottimark, @ilyavolodin and @nzakas.
We would like to create a custom rule, internal to the eslint codebase, to make sure our core rules have all the required meta
properties in the new rule format.
I’m willing to work on this.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to write custom ESLint rules - Mews Developers
Before writing any custom rules I'd recommend going through ESLint core rules along with plugins created by the community.
Read more >How to Create Custom ESLint Rules (It's Not as Hard as You ...
Learn how to create custom ESLint rules to better lint your Angular applications.
Read more >Model validation in ASP.NET Core MVC | Microsoft Learn
Validation attributes let you specify validation rules for model properties. The following example from the sample app shows a model class that ...
Read more >Working with Rules - ESLint - Pluggable JavaScript Linter
Important: The meta.fixable property is mandatory for fixable rules. ESLint will throw an error if a rule that implements fix functions does not...
Read more >Rules | Bazel
Rule -specific attributes, such as srcs or deps , are defined by passing a map from attribute names to schemas (created using the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds fine to me. We can start small and move it into plugin if we need to later. (I just personally always disliked our custom rules, and prefer plugins, even if it’s for a single rule).
@mysticatea We can just make it into a plugin.