A VScode linter for Tighten Lint
CTRL
+SHIFT
+X
(View: show extensions
)- Search for tighten lint and click install
- Customisable linter severities
- Customise executed linters
- Supports tlint.json configuration file
You must install the linter executable as per the tlint install instructions. The minimum supported version is v3.0.12
setting | default | description |
---|---|---|
tighten-lint.exec |
tlint |
The tlint executable path |
tighten-lint.defaultSeverity |
error |
The default violation severity (error, warning, info, hint) |
tighten-lint.severities |
{} |
Override default severity for specific linter |
tighten-lint.only |
[] |
A list of the specific linters to run |
"tighten-lint.exec": "/usr/bin/tlint",
"tighten-lint.defaultSeverity": "warning",
"tighten-lint.only": [
"AlphabeticalImports",
"NoInlineVarDocs",
"ImportFacades"
],
"tighten-lint.severities": {
"NoInlineVarDocs": "info"
},
If you wish to use a configuration file you should place the tlint.json
file in the root of your project folder in the required format e.g.
The extension will then use this configuration when linting in combination with the other settings.
- Linting is limited to local files and will not work on uri schemes other the
file
e.g.ssh
See the contributing guide and Code of Conduct