Skip to content

@jdkato jdkato released this Mar 15, 2021

Changelog

4945f4c chore: fix asset naming

Assets 6

@jdkato jdkato released this Mar 10, 2021 · 4 commits to v2 since this release

This release introduces support for targeting multiple scopes within one rule (see #259):

message: "Don't say '%s'"
extends: existence
ignorecase: false
# You can now provide an array of scopes to target.
scope:
  - heading.h1
  - heading.h2
  - heading.h3
level: error
tokens:
  - a token

Changelog

29acc0a feat: support multiple scopes
0898b50 chore: bump version to 1.16
aa7b89c docs: fix link
574fbb1 chore: update goldmark
2dfee5a fix: detect capture group errors
be76a32 refactor: drop codify
63e00b1 refactor: clean up vale/main.go
699f2b3 fix: allow commands to run without a config file
14bf88f refactor: move library.go to cli package
899c310 chore: remove vendor cache
44f1bfc refactor: drop vendor
eafd321 feat: add style library
c970962 refactor: move built to CLIFlags

Assets 6

@jdkato jdkato released this Jan 29, 2021 · 17 commits to v2 since this release

Fixes #325, resolves #319.

Changelog

9b5d30f fix: ignore noscript
e73dd35 refactor: move to godirwalk

Assets 6

@jdkato jdkato released this Jan 25, 2021 · 21 commits to v2 since this release

This release starts the introduction of "PCRE-style" regex into Vale. The existence extension point now supports positive lookahead ((?=re)), negative lookahead ((?!re)), positive lookbehind ((?<=re)), negative lookbehind ((?<!re)), and back references (\1).

Assets 6

@jdkato jdkato released this Jan 22, 2021 · 23 commits to v2 since this release

Fixes #311, #313.

Changelog

35a184c fix: only match a single hyphen when tokenizing
a0cb716 fix: better error message with non-existent vocab

Assets 6

@jdkato jdkato released this Jan 16, 2021 · 30 commits to v2 since this release

Fixes #308.

Changelog

f7896e5 chore: set CGO_ENABLED=0 for GoReleaser
15531c3 fix: ensure listing offsets are correct

Assets 6

@jdkato jdkato released this Jan 12, 2021 · 36 commits to v2 since this release

This release introduces support for multiple Hunspell-compatible dictionaries:

extends: spelling
message: "'%s' is a typo!"
# `dicpath` may be absolute or relative. Vale also 
# respects the `DICPATH` environment variable.
dicpath: ../../fixtures/spelling/dics
dictionaries:
  - en_US
  - en_medical

Also fixes #306, #307.

Changelog

cf283a8 feat: support multiple dictionaries
2e27693 fix: report the correct location for lines with multiple matches
79012cc fix: ensure that scope: raw always gets unprocessed content.

Assets 6

@jdkato jdkato released this Jan 9, 2021 · 46 commits to v2 since this release

This release introduces two fixes:

  1. Vale now correctly locates rst2html when "-3" is appended to its name.

  2. IgnoreToken-related errors now report the exact line of the error instead of just the file.

Changelog

fec1e47 refactor: improve IgnoreToken errors
5a551f5 chore: update dita-ot on GitLab
d244e26 chore: use pinned action
c817e27 fix: support rst2html-3
bf37084 chore: update dita-ot

Assets 6

@jdkato jdkato released this Jan 7, 2021 · 52 commits to v2 since this release

This release brings a new CLI design with more helpful getting started instructions, and significant performance improvements for both reStructuredText and AsciiDoc when linting large folders.

Changelog

6b3c281 chore: make pkg structure work with GoReleaser
2abf2d8 feat: add DictionaryPath
64d1244 refactor: re-organize markup files
650cb54 feat: new CLI intro text
778c568 refactor: new package structure
85d7554 refactor: report errors compiling ignore patterns
a4f8e14 fix: ensure we don't report alerts in AsciiDoc block attributes
9b76c75 test: add case for a missing adoc attribute
539f623 feat: drop missing attributes in AsciiDoc

Assets 6

@jdkato jdkato released this Dec 22, 2020 · 77 commits to v2 since this release

Fixes #292.

Changelog

bb5101b fix: handle invalid CLI input
e65b653 chore: clean up flags
3b1c777 chore: [WIP] move CI/CD to GitLab

Assets 6