typescript:S4798 in abstract classes / functions
Franziskus1988 opened this issue · comments
Franziskus Neuhoff commented
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:
But you can't set the value in a abstract class:
Expected behavior
Think it's a false positive.
Elena Vilchik commented
Thanks for reporting! I created an issue in SonarJS project SonarSource/SonarJS#1768 (now TS analysis is performed by SonarJS)