`no-empty-description` incorrectly flags non-empty descriptions.
See original GitHub issueThe following seem like reasonable test descriptions, but they get flagged by no-empty-description
:
describe('eslint-plugin-mocha', function() {
const description = 'description';
it(description, function() {});
['test1', 'test2'].forEach(testname => {
it(testname, function() {});
});
const removePrefix = 'testcase.prefix';
it(removePrefix.replace('.prefix'), function() {});
});
3:3 error Unexpected empty test description mocha/no-empty-description
6:5 error Unexpected empty test description mocha/no-empty-description
10:3 error Unexpected empty test description mocha/no-empty-description
Was this intended with #304?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to resolve At-clause should have a non-empty description?
I am using the google java style in the checkstyle plugin for eclipse luna. Seeing this error all over my java doc but...
Read more >EC2Launch v2 settings - Amazon Elastic Compute Cloud
This section contains information about how to configure settings for EC2Launch v2.
Read more >How to create a template for issue description?
Hi everyone! I try to find out if there are a way to insert a template in the issue description that shows up...
Read more >[Javadoc] Missing description should be warned for all tags
The problem I see with 1) is that a) either the option is disabled, and we don't flag the missing description on @return,...
Read more >urllib.parse wrongly strips empty #fragment, ?query, //netloc
urllib.parse can't handle URIs with empty #fragments. The fragment is removed and not ... The idea of “has_fragment” etc flags might work.
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
Thanks for reporting. This is definitely a bug.
Thanks! No more issues as far as I know.