Skip to content

TSLint extension not working #341

@njbraun

Description

@njbraun
  • code-server version: 1.32.0-310
  • OS Version: Ubuntu 18.04 and/or using the dockerized version

Description

TSLint extension does not appear to work with code-server. I don't see any in-editor warnings/errors for things that violate the specified tslint rules. See repro steps below.

Extension: ms-vscode.vscode-typescript-tslint-plugin

Side Note: The download count is VERY different for this extension in code-server vs vscode. This extension shows ~30 downloads in code-server versus ~400,000 downloads in vscode. Are these coming from different repos??

Steps to Reproduce

  1. Create a new tslint project via running tslint --init.
  2. Modify tslint.json to add a rule about quotes for example:
{
    "defaultSeverity": "error",
    "extends": ["tslint:recommended"],
    "jsRules": {},
    "rules": {
        "quotemark": [true, "single"]
    },
    "rulesDirectory": []
}
  1. Create a file example.ts:
let foo = "bar";
  1. Note that tslint does not complain about the double quotes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions