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.

Show if rule is enabled by eslint:recommended on rule page

See original GitHub issue

Website change so I skipped the eslint version questions.

What did you do? Please include the actual source code causing the issue. Land on a rule page from a search engine.

What did you expect to happen? See if the rule is enabled in “eslint:recommended”.

What actually happened? Please include the actual, raw output from ESLint. No indication of the rule being enabled.

The indication is already on http://eslint.org/docs/rules/ so it would be nice to also have it on rule pages.

It would also be useful to see if eslint --fix can fix this. I can open another issue for this though.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:40 (39 by maintainers)

github_iconTop GitHub Comments

3reactions
ilyavolodincommented, Feb 15, 2017

@wkurniawan07 That’s correct. The change should be done in this repository. I’m 👍 for adding both fixable and recommended to docs generation if that can be done easily. I think it should be possible since we always add “fixable” to the third line in the file.

2reactions
nzakascommented, May 24, 2016

@platinumazure as I mentioned, we can get the date time from the git log whenever we want. I’d prefer not relying on human-provided dates, which can easily be mistyped or otherwise incorrect.

@pedrottimark if a rule was removed, then i think we shouldn’t show anything about it being recommended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rules - ESLint - Pluggable JavaScript Linter
Rules in ESLint are grouped by type to help you understand their purpose. Each rule has emojis denoting: ✓ Recommended. The "extends": "eslint:recommended" ......
Read more >
Rules - ESLint - Pluggable JavaScript Linter
Rules are the core building block of ESLint. A rule validates if your code meets a certain expectation, and what to do if...
Read more >
Working with Rules - ESLint - Pluggable JavaScript Linter
recommended (boolean) is whether the "extends": "eslint:recommended" property in a configuration file enables the rule.
Read more >
Configuration Files - ESLint - Pluggable JavaScript Linter
Using "eslint:recommended" in the extends property enables a subset of core rules that report common problems (these rules are identified with a checkmark...
Read more >
Configuring ESLint - ESLint - Pluggable JavaScript Linter
Rules - which rules are enabled and at what error level. Plugins - which third-party plugins define additional rules, environments, configs, etc. for...
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