SonarSource / SonarTS

Static code analyzer for TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript:S4798 in abstract classes / functions

Franziskus1988 opened this issue · comments

I want to report a bug.

SonarTS version: 5.14 (build 18788)

Node.js version: v10.14.1

TypeScript version: 3.5.2

SonarQube version: 7.9.1.27448

SonarLint version and used IDE: 1.12.0 VSCode

Rule key: typescript:S4798

Error:
Sonarlint shows this warning:
sonar_warning

But you can't set the value in a abstract class:
tsc_error

Expected behavior
Think it's a false positive.

Thanks for reporting! I created an issue in SonarJS project SonarSource/SonarJS#1768 (now TS analysis is performed by SonarJS)