@devpodio/tslint

Theia - TSLint Extension

Usage no npm install needed!

<script type="module">
  import devpodioTslint from 'https://cdn.skypack.dev/@devpodio/tslint';
</script>

README

Theia - TSLint Extension

See here for a detailed documentation.

Configuring the tslint-server-plugin

You can define settings for the tslint-language-service plugin in the tsconfig.json file. The available settings are documented here:

{
    "compilerOptions": {
        "plugins": [
            {
                "name": "tslint-language-service",
                "alwaysShowRuleFailuresAsWarnings": false,
                "ignoreDefinitionFiles": true
                //"configFile": "../tslint.json",
                //"disableNoUnusedVariableRule": false
            }
        ],
    }
}

Using a different version of tslint than the version that is bundled with the extension

The extension comes with a particular version of tslint. If you want to use a different version then you have to install the tslint-languageservice package and tslint as a peer to the TypeScript version you want to use. The modules folder should have the following layout:

  • node_modules
    • typescript
    • tslint
    • tslint-language-service

License