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.

Definition for rule 'no-loops' was not found

See original GitHub issue

This isn’t working for me. I’ve installed and added to the array of plugins in .eslintrc.

If I add a “no-loops” rule to my .eslintrc (unclear if this is necessary), I get the following:

1:1 warning Definition for rule 'no-loops' was not found no-loops

Am I missing something?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gabrocommented, Mar 16, 2016

I finally had some time to look into this, and apparently the ruleConfig option is not supported any longer with recent versions of eslint (>= 2.0.0, looks like). https://github.com/eslint/eslint/issues/4952

I could ship a recommended config with the plugin, but since I’m providing a single rule there’s really no point. I’ll update the README, thanks for reporting this, @coryhouse!

0reactions
gabrocommented, Mar 16, 2016

Done, and published v0.2.0 on npm!

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint why does my plugin show Definition for rule was not ...
It means eslint cannot find rules in your index.js . Try having a look at your index.js -exports. They should look something like...
Read more >
no-loop-func - ESLint - Pluggable JavaScript Linter
This rule disallows any function within a loop that contains unsafe references (e.g. to modified variables from the outer scope). Examples of incorrect...
Read more >
5.1 The Basics
A graph with no loops, but possibly with multiple edges is a multigraph. The condensation of a multigraph is the simple graph formed...
Read more >
JsonLogic
Build complex rules, serialize them as JSON, share them between front-end and back-end. ... JsonLogic has no setters, no loops, no functions or...
Read more >
RFC 3261: SIP: Session Initiation Protocol
188 21.4.19 481 Call/Transaction Does Not Exist . ... SIP header fields follow the [H4.2] definitions of syntax for the message-header and 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