Skip to content

Releases: openserbia/doclint

v0.7.3

Choose a tag to compare

@OCharnyshevich OCharnyshevich released this 04 Jul 21:18
7747242

Changed

  • fmt shortcode-indent pass no longer applies tree-based re-indentation to standalone shortcodes. Nested shortcodes ({{< step >}} inside {{< steps >}}) now pass through verbatim. The list-continuation indent feature (v0.7.1/v0.7.2) is preserved: shortcodes opened inline in a list item still get their closers and inner tags fixed to the marker's content column.

v0.7.2

Choose a tag to compare

@OCharnyshevich OCharnyshevich released this 04 Jul 19:55
bbae2d8

Fixed

  • fmt shortcode-indent pass now re-indents all pure-tag shortcode lines inside a list-inline block to the list-continuation column, not just the closer. Previously a single-tag shortcode like {{< euprava-payment >}} between the list-inline opener (7. {{< details >}}) and its closer had its leading whitespace stripped to column 0. Now the list-continuation column (e.g. 3 for 7. ) is used as a base indent for every pure-tag line while the list-inline block is active; nested block shortcodes inside it add the normal depth-based indent on top of the base.

v0.7.1

Choose a tag to compare

@OCharnyshevich OCharnyshevich released this 04 Jul 19:02
ddfc4b1

Changed

  • fmt shortcode-indent pass now re-indents closing shortcode tags inside list items to the list-continuation column. When a shortcode opens inline in a list item (e.g. 1. {{< details "X" >}}), the closing {{< /details >}} is indented to the marker's content column (3 spaces for 1. , 2 for - ) instead of being left at column 0 or whatever stray indent the author wrote. The pass tracks inline block-openers on a stack so multiple sequential list items each get their closer fixed independently. Already-correct indentation is unchanged (idempotent).

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 10:06
a9aabe0

Changelog

Features

Bug fixes

Others

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 17:08
30d8e43

Changelog

Features

Others

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 17:58
a561ad6

Changelog

Features

  • a561ad6 feat(rule): list-marker-indent re-indents margin closing shortcodes ({{< /details >}} at column 0) by @OCharnyshevich

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 26 Jun 17:42
0a3918b

Changelog

Features

  • 0a3918b feat(rule): list-marker-indent autofix restored — structure-aware re-indent (leading/list-block/trailing) by @OCharnyshevich

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 26 Jun 17:14
6ca66cf

Changelog

Bug fixes

  • 007c656 fix(rule): list-marker-indent flag-only — uniform-shift autofix mangled inconsistently-indented bodies by @OCharnyshevich

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 16:43
6f1741d

Changelog

Features

  • 130510a feat(docs): human-readable rule titles + before/after examples in docs/rules; README table generator by @OCharnyshevich
  • 9719c24 feat(lint): --rule filter to report/fix specific rule(s) in chosen files by @OCharnyshevich
  • 2b083f6 feat(rule): list-marker-indent — flag under-indented list bodies (1.1.1 bug); unsafe re-indent fix by @OCharnyshevich

Others

  • 8364807 docs(readme): replace per-rule prose with the generated rule table (DRY) by @OCharnyshevich
  • 12925e5 refactor(cli): unify human output to one styled standard (glyph headline + indented items) by @OCharnyshevich
  • 9efb7d1 refactor: rename builtin rule files to their rule names (md_mdNNN.go markdownlint codes were cryptic) by @OCharnyshevich

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 15:58
d9e6964

Changelog

Features

  • 80031ce feat(cache): memoize per-file lint findings (content+config+version key); --no-cache, --cache-dir, cache clean|status by @OCharnyshevich
  • 5eea749 feat(config): paths field — default lint/fmt targets when no CLI paths given by @OCharnyshevich

Others

  • 64e1983 docs(readme): no-trailing-spaces autofix, no-broken-anchor rule, fixability + doc-link output by @OCharnyshevich