-
Notifications
You must be signed in to change notification settings - Fork 889
completed-docs rule doesn't shows errors #2767
Comments
Still unable to get working on TSLint 5.5.0 with rule settings:
TSlint does not complain on non-documented public methods. UPD: We found out that wrapping "locations" value in array does help, i.e.:
work as expected. |
I'm having the same issue. Running |
This rule requires the type information. That's currently not possible with vscode-tslint. Therefore this rule is simply ignored. |
@adidahiya, looks like it is not duplicate, 'cos not fixed by #2749 |
I run into the same issue. Tslint via CLI reports the missing documentation properly. However, PhpStorm ignores that particular error and reports nothing. |
To solve this problem the rule could be refactored to no longer use the type checker. /**
* Complete documenation
*/
interface Foo {
}
// this one has no documentation, but since it's merged with the interface above, the rule should not fail on it
class Foo {
} |
I'm having the same issue with IntelliJ: The CLI reports all issues, IntelliJ reports all, but documentation issues, maybe more... (Win10, JDK 1.8.0_152, IntelliJ 2017.2.5, IntelliJ tslint plugin 172.4343.14, node 6.9.4, tslint 5.7.0) |
This issue could be fixed, but the behavior of the rule would differ in certain cases. |
any update? |
Exciting! |
Bug Report
TypeScript code being linted
with
tslint.json
configuration:or
Actual behavior
It shows no errors or warnings about missing or incomplete documentation.
Expected behavior
It should show errors or warnings about missing or incomplete documentation.
The text was updated successfully, but these errors were encountered: