Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve S1192 by ignoring literals in type annotations #2464

Closed
yassin-kammoun-sonarsource opened this issue Jan 22, 2021 · 0 comments · Fixed by SonarSource/eslint-plugin-sonarjs#203
Assignees
Labels
type: enhancement Improving existing functionality type: false positive Issue is reported when it should NOT be
Milestone

Comments

@yassin-kammoun-sonarsource
Copy link
Contributor

Example:

let x: 'Hello world' = 'Hello world'
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: enhancement Improving existing functionality type: false positive Issue is reported when it should NOT be
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants