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.

Problematic code for no-sequences showing and being flagged as non-problematic

See original GitHub issue

What version of ESLint are you using?

The ESLint demo (and looking at docs in master).

What configuration and parser (Espree, Babel-ESLint, etc.) are you using?

The ESLint demo (and looking at docs in master).

What did you do? Please include the actual source code causing the issue.

I noticed that the following code in no-sequences:

(0,eval)("doSomething();");

…is listed in the introductory block referring to the problem of sequences as well as in a non-problematic section.

What did you expect to happen?

I’d expect that the code would not appear in the non-problematic block in the docs but would be flagged in the demo. I’d also expect a non-problematic equivalent to be documented.

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

The code appears in a non-problematic block and was not flagged as a problem (with no-sequences enabled) in the demo.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kaicataldocommented, Mar 22, 2016

Very minor tweak to increase clarity of docs, including the problematic version of the code above. Thoughts?

Edit: Just to clarify why I only changed one word: “its use” is not very clear - it’s hard to tell if it’s referring to the rule or sequences as a pattern. This change should make it clearer to the reader.

0reactions
kaicataldocommented, Mar 23, 2016

@brettz9 Glad to hear it - thanks for reporting the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

MDR Adverse Event Codes - FDA
The consequences of the medical device adverse event/incident on the person affected. Note: Certain codes may be referred to by various names.
Read more >
Troubleshooting sign-in problems with Conditional Access
The information in this article can be used to troubleshoot unexpected sign-in outcomes related to Conditional Access using error messages and ...
Read more >
Consequences of 'Bad' Code - The Extentia Blog
'Bad' code primarily has the following attributes: It is not readable – if a new person joins the team, it takes them an...
Read more >
Issues - SonarQube Documentation
Code Smell : A maintainability issue that makes your code confusing and difficult to maintain. Issue severity. Each issue has one of five...
Read more >
Avoid these twelve rental housing code violations
Ignoring priority violations can cause your property to be red tagged by code enforcement and incur expensive fines. Love them or hate them, ......
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