Linting Feature
The linting feature is available since tinymist
tinymist
v0.13.12.
If enabled, the linter will run on save or on type, depending on your configuration. When it finishes, the language server will send the results along with the compilation diagnostics to the editor.
- Open settings.
-
Search for "Tinymist Lint" and modify the value.
- Toggle "Enabled" to enable or disable the linter.
-
Change "When" to configure when the linter runs.
- (Default)
onSave
onSave
run linting when you save the file. onType
onType
run linting as you type.
- (Default)
- Change configuration
tinymist.lint.enabled
tinymist.lint.enabled
totrue
true
to enable the linter. -
Change configuration
tinymist.lint.when
tinymist.lint.when
toonSave
onSave
oronType
onType
to configure when the linter runs.- (Default)
onSave
onSave
run linting when you save the file. onType
onType
run linting as you type.
- (Default)