Tinymist Docs

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.

Configuring in VS Code

  1. Open settings.
  2. Search for "Tinymist Lint" and modify the value.

    1. Toggle "Enabled" to enable or disable the linter.
    2. Change "When" to configure when the linter runs.

      • (Default) onSaveonSave run linting when you save the file.
      • onTypeonType run linting as you type.

Configuring in Other Editors

  1. Change configuration tinymist.lint.enabledtinymist.lint.enabled to truetrue to enable the linter.
  2. Change configuration tinymist.lint.whentinymist.lint.when to onSaveonSave or onTypeonType to configure when the linter runs.

    • (Default) onSaveonSave run linting when you save the file.
    • onTypeonType run linting as you type.