-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dartdoc and comment_references lint disagree on [true] and [false] #57642
Comments
From @jcollins-g on October 18, 2017 15:13 dartdoc does not currently support keywords in comment references, but this could be added. |
From @devoncarew on October 18, 2017 15:23 We may want to choose to change the lint here. I'd expect the contents of square brackets to generally be something that resolves to a symbol. For this case, the user should probably write:
|
From @jcollins-g on October 18, 2017 15:35 I can also see the argument for In general, better synchronization between the linter and dartdoc seems like a good idea if we can find the space for it. |
From @kevmoo on October 18, 2017 15:54 It's not like I'd rather we change linter, IMHO On Wed, Oct 18, 2017 at 8:35 AM, jcollins-g notifications@github.com
|
Update `comment_references` to check for keywords that are not treated as references by the parser but should be flagged by the linter. Fixes: #808.
* Fix comment_references to flag keywords (#808). Update `comment_references` to check for keywords that are not treated as references by the parser but should be flagged by the linter. Fixes: #808. * loop fix
From @kevmoo on October 18, 2017 1:51
If one enables the comment_references lint, doing
[true]
or[false]
is fine.dartdoc reports these as
unresolved-doc-reference
...should be consistent
Copied from original issue: dart-lang/dartdoc#1519
The text was updated successfully, but these errors were encountered: