generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add vale binary * chore: start the vale aspect * chore: workaround how vale locates its styles * chore: add write-good * chore: don't show suggestion level * fix: vale can only work with a single config since we have to generate it * feat: properly vendor the list of vale styles * chore: vendor newer vale binary * chore: add test * chore: register missing toolchain' * fix: allow markdown_library or filegroup(tags=[markdown]) * chore: fix integration test * chore: documentation * chore: docgen * make styles optional, in case you only use built-in Also fix bug where exit code was always being used * fix: vale writes to stdout * roll dice * chore: don't fetch all styles, it's too big
- Loading branch information
Showing
21 changed files
with
637 additions
and
20,014 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ lint: | |
- //tools:lint.bzl%flake8 | ||
- //tools:lint.bzl%pmd | ||
- //tools:lint.bzl%ruff | ||
- //tools:lint.bzl%vale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# NB: this path doesn't exist in the source tree, it's created by the copy_to_directory rule | ||
# in tools/BUILD.bazel. | ||
# If you want vale to run outside Bazel, such as with an editor extension, | ||
# you could also use `write_source_files` to have the tools/vale_styles folder written into the source tree as well. | ||
StylesPath = tools/vale_styles | ||
|
||
MinAlertLevel = warning | ||
Packages = Google,write-good | ||
|
||
[*] | ||
BasedOnStyles = Vale,Google,write-good |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.