Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 22:23
· 175 commits to master since this release
v0.4.0
bfb045d
  • This release has huge changes to how commands are invoked. The old run_mode and chdir configuration keys have been deprecated. In the future, using these will cause precious to print a warning, and later support will be removed entirely. See the documentation for more details. There are also some docs on upgrading from previous versions.
  • Fixed path handling for --git and --staged when the project root (the directory containing the precious config file) is a subdirectory of the git repo root. Previously this would just attempt to run against incorrect paths.
  • Precious now supports patterns starting with ! in include and exclude keys. This allow you to exclude the given pattern, even if matches previous rules in the list. See the Git docs on .gitignore patterns for more details. Fixes GH #39.
  • When run in GitHub Actions, precious will now emit GitHub annotations for linting errors.