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.

No way to disable issues with comments

See original GitHub issue

Tell us about your environment

  • ESLint Version: N/A
  • Node Version: v12.5.0
  • npm Version: 6.13.0

What parser (default, Babel-ESLint, etc.) are you using? Default with xo. Please show your full configuration:

Configuration

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

// eslint-disable-next-line capitalized-comments
/* spell-checker: disable */
xo --quiet

What did you expect to happen? capitalized-comments to apply to the comment below it.

What actually happened? Please include the actual, raw output from ESLint.

  ✖  131:31  capitalized-comments rule is disabled but never reported.  eslint-comments/no-unused-disable

If I remove the eslint-disable-next-line line then I get this.

  ✖  131:31   Comments should not begin with a lowercase character.      capitalized-comments

Are you willing to submit a pull request to fix this bug? Possibly?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kaicataldocommented, Nov 11, 2019

@OmgImAlexis Is there any chance you could make a minimal reproduction case repo? It’s tough to know what’s going on with all the moving parts at the moment.

1reaction
thewalla07commented, Nov 8, 2019

Hi, this may not be related to ESLint directly, but rather with the eslint-plugin-eslint-comments dependency used by xo. This dependency is the one that actually reports this error in xo

Read more comments on GitHub >

github_iconTop Results From Across the Web

How disable comments make static analysis tools worse
Sometimes these disable comments are used in a way that disable all rules instead of just the few that reported problems.
Read more >
How to disable to comments an issue that has a certain status
Hi, Looking for a solution for an issue that I am trying to tackle I found :
Read more >
How to Completely Disable Comments in WordPress (Ultimate ...
Select Do not allow from the comments dropdown box and click on Update. This will disable comments on all your selected posts.
Read more >
How to disable (& enable) Modern Comments in ... - YouTube
This video shows you how to disable the most annoying feature of #MicrosoftWord 365 and enable it again. Why? Because disabling it, is...
Read more >
How to Disable Comments in WordPress (Step by Step)
1. Stop comments on all future posts (and pages) - Uncheck the option allow people to post comments on articles; You can also...
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