Definition for rule 'no-loops' was not found
See original GitHub issueThis 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:
- Created 8 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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/4952I 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!
Done, and published v0.2.0 on npm!