github platers/obsidian-linter 1.18.0

latest releases: 1.26.0, 1.26.0-rc-3, 1.26.0-rc-2...
13 months ago

Linter v1.18.0

This release was again mostly bug fixes with some ease of development changes. A highly requested feature of linting on the active file changing was added as well. There has also been an update to the documentation where it has been added to a generated site located at https://platers.github.io/obsidian-linter/. The site is not completely ready to be referenced by the plugin code, but the content is up to date and will be replacing other documentation found in the README and elsewhere.

Features

  • A Turkish translation for the plugin was added
  • Updates were provided for the Chinese translation
  • There were updates to the wording for the English translation to make the wording similar
  • The ability to automatically lint the active file as you close or swap to a new active file
  • Sort YAML Keys will now handle the keys when they end in a colon (:)
  • Timing logs have been improved to only show for rules that actually run

Bugs

  • Linting the non-current file was always modifying the file even when no changes were made
  • When pasting a checklist or list item, the paste rules now take into account the selected text as well to keep from pasting and having no checklist item indicator or list item indicator present
  • When a Callouts are present and are nested, make sure that they do not get merged when adding blank lines around blockquotes/callouts
  • Handle moving math block indicators to their own lines better when the math block indicators have other content on the same line

What's Changed

  • Update Wording to Be More Consistent and Concise by @pjkaufman in #790
  • Add ESLint Auto Fix for Fixable Issues in CI by @pjkaufman in #791
  • Updated the Documentation and Added Plugin Name to Installation Instructions by @pjkaufman in #795
  • Add Options to Lint on File Change and Show a Message Saying which File Was Linted on File Change by @pjkaufman in #799
  • Update Sort YAML Keys to Handle Keys Ending in Colon by @pjkaufman in #800
  • Fix Duplicated Description for Lint on File Change and Fix Removal of Indicators for Lists and Checklists when Paste Content and Selected Text Start with List or Checlkist Indicators by @pjkaufman in #802
  • chinese translate update by @Ooopz in #803
  • Revert "Add ESLint Auto Fix for Fixable Issues in CI" by @pjkaufman in #808
  • tr.ts by @alitekdemir in #805
  • Fix Issue with Lint via File Menu Always Updating File Modified Date by @pjkaufman in #807
  • Updated Lint File from File Menu to Go Ahead and Lint Using the Editor if Possible by @pjkaufman in #811
  • Make Timing Logs Only Show for Rules that Run and Make Example Clearer by @pjkaufman in #815
  • Fix Blank Lines Around Callouts Causing Callouts to Merge by @pjkaufman in #817
  • Fix Moving Math Block Indicators to Their Own Line Breaking Math Blocks when Malformed with Content Between Them by @pjkaufman in #818
  • Add Release Workflow, Update Docs, and Update Version for Release by @pjkaufman in #823

New Contributors

Full Changelog: 1.17.0...1.18.0

Don't miss a new obsidian-linter release

NewReleases is sending notifications on new releases.