Linting Feature
The linting feature is available since tinymisttinymist 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)
onSaveonSaverun linting when you save the file. onTypeonTyperun linting as you type.
- (Default)
- Change configuration
tinymist.lint.enabledtinymist.lint.enabledtotruetrueto enable the linter. -
Change configuration
tinymist.lint.whentinymist.lint.whentoonSaveonSaveoronTypeonTypeto configure when the linter runs.- (Default)
onSaveonSaverun linting when you save the file. onTypeonTyperun linting as you type.
- (Default)