question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create custom rule to verify a core rule has required `meta` properties

See original GitHub issue

This 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:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ilyavolodincommented, Jun 16, 2016

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).

1reaction
ilyavolodincommented, Jun 12, 2016

@mysticatea We can just make it into a plugin.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found