Errors on 'no-empty-label' when there is no rule with that name.
See original GitHub issueWhat version of ESLint are you using? eslint v3.2.0 node v6.3.0 npm 3.10.3
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration: No config needed to show issue.
What did you do? Please include the actual source code causing the issue.
$ ./node_modules/.bin/eslint src/
What did you expect to happen?
2:10 error 'hello' is defined but never used no-unused-vars
What actually happened? Please include the actual, raw output from ESLint.
/dev/src/index.js
2:1 error Rule 'no-empty-label' was removed and replaced by: no-labels no-empty-label
2:1 error Rule 'space-before-keywords' was removed and replaced by: keyword-spacing space-before-keywords
2:1 error Rule 'space-after-keywords' was removed and replaced by: keyword-spacing space-after-keywords
2:1 error Rule 'space-return-throw-case' was removed and replaced by: keyword-spacing space-return-throw-case
2:10 error 'hello' is defined but never used no-unused-vars
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
no-empty-label errors on labelled if statement #5042 - GitHub
Reading the documentation, it seems that the rule is designed to enforce that labels are only used on loops. Perhaps you should turn...
Read more >eslint keyword errors on module.exports - Stack Overflow
Looking up the first rule that is failing: no-empty-label . It has the following warning: This rule was removed in ESLint v2.0 and...
Read more >no-empty-label - ESLint - Pluggable JavaScript Linter
Rule Details. This error occurs when a label is used to mark a statement that is not an iteration or switch. Example of...
Read more >Association node error message 'there are no rules that match ...
Solved: Hello, I am trying to create an association analysis with Enterprise Miner Workstation 15.1 – using the Association Node.
Read more >List of available rules - ESLint - Pluggable JavaScript linter
Rules in ESLint are grouped by category to help you understand their purpose. ... These rules relate to possible syntax or logic errors...
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 Free
Top 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
you can use
root: true
inside a config file that way eslint will stop looking upwards from that config.Ah, that was it. I didn’t know eslint would go out of my root directory searching for a config. There was a bad .eslintrc file in my root dev folder. I removed it and everything is working as expected. Thank you!