angelozerr / tslint-language-service

TypeScript 2.2.1 plugin for tslint
MIT License
188 stars 22 forks source link

"supressWhileTypeErrorsPresent" not working. #54

Open qm3ster opened 6 years ago

qm3ster commented 6 years ago

I don't have any tslint extensions running. I am on VSCode Stable Version 1.18.1 package.json:

{
    "devDependencies": {
        "tslint": "^5.8.0",
        "tslint-config-prettier": "^1.6.0",
        "tslint-language-service": "^0.9.6",
        "typescript": "^2.6.2",
        "worker-loader": "^1.1.0"
    }
}

[tslint] errors are still displayed even when there are [ts] errors above them.

angelozerr commented 6 years ago

It's because 0.9.7 was not published. I have published now. Please retry.

qm3ster commented 6 years ago

Oh, sorry. Now it works, but not all [ts] errors prevent [tslint] errors. A true type error, such as Type '1' is not assignable to type 'string | null'. hides it. But a broken syntax (but still [ts]) error like Expression expected. (I deleted the 1) lets them through. Is that how it is supposed to operate?

image image