Open
Description
- Show the user tslint warnings like 'rule not found'.
blocked - currently shown in the server log only, which is intended for plugin authors but not users, see Plugins - support plugin specific logging microsoft/TypeScript#15913 - The
no-unused-variable-rule
is disabled by default
blocked - the rule has side effects and triggers an assertion failure The implementation of the 'no-unused-variable' rule breaks the tslint language service plugin palantir/tslint#2649. There is a fix for the side effect, that will be available in a next version. Even with the fix the rule requires to re-analyze a file for linting and it is too expensive to enable. - Auto fix on save
blocked - the TypeScript language server has no notion of a pre save hook Plugins - support a 'willSave' hook microsoft/TypeScript#15917 - Automatically revalidate open files when the tslint.json configuration file changes.
blocked - requires an API to trigger a revalidation of the open files Plugins - support that a plugin can trigger a diagnostic validation when its configuration changes microsoft/TypeScript#15914 - Revalidate open files when the plugin settings inside the
tsconfig.json
changes.
blocked - Plugins - notify a plugin when a tsconfig.json file changes microsoft/TypeScript#15915
Settings
- tslint.autoFixOnSave - fix auto fixable warnings when a file is saved.
blocked see above - tslint.run - run the linter onSave or onType, default is onType.
blocked - typescript always creates diagnostics as the user types
Commands contributed by vscode-tslint
from microsoft/vscode-ts-tslint#1:
- tslint.fixAllProblems - which also enables to define a key binding, requires to send a event to a plugin.
- tslint.createConfig - should be created using
tslint --init
- tslint.showOutputChannel - depends on TS support for channel specific logging from a plugin see above
Custom quick fixes
vscode-tslint provides some custom quick fixes. Rather than providing quick fixes the better approach is to make PRs against the tslint rules.
-
quotemark
- quick fix has been added in tslint 5 -
triple-equals
- no quick fix provided by tslint -
comment-format
- no quick fix provided by tslint -
whitespace
- no quick fix provided by tslint
Should be provided by tslint editor extension
- Intellisense/validation for language service plugins contributions in the tsconfig.json
- tslint status indicator
the vscode typescript status indicator should show status/provide access to the status of extensions - tslint.json schema validation
- support to create a default tslint.json
Metadata
Metadata
Assignees
Labels
No labels