microsoft / vscode-typescript-tslint-plugin

VS Code extension that provides TSLint support using the typescript-tslint-plugin
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
MIT License
188 stars 34 forks source link

Comments in tslint.json are flagged as errors #8

Closed egamma closed 5 years ago

egamma commented 5 years ago

Testing: https://github.com/Microsoft/vscode/issues/62092

The tslint.json may include comments, but they are flagged as errors.

image

The extension should associate tslint.json with the jsonc language (JSON with comments).

  "contributes": {
    "languages": [
      {
        "id": "jsonc",
        "filenames": [
          "tslint.json"
        ]
      }
    ],