chore(typos): Add typos hook plus some fixes (#637)
* fix(typos): Add typos hook plus some fixes * Use latest version of hook
This commit is contained in:
parent
59453e5c50
commit
6bad7f3d3c
|
@ -68,7 +68,7 @@ build --incompatible_default_to_explicit_init_py
|
||||||
common --incompatible_disallow_empty_glob
|
common --incompatible_disallow_empty_glob
|
||||||
|
|
||||||
# Always download coverage files for tests from the remote cache. By default, coverage files are not
|
# Always download coverage files for tests from the remote cache. By default, coverage files are not
|
||||||
# downloaded on test result cahce hits when --remote_download_minimal is enabled, making it impossible
|
# downloaded on test result cache hits when --remote_download_minimal is enabled, making it impossible
|
||||||
# to generate a full coverage report.
|
# to generate a full coverage report.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
|
# Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs
|
||||||
# detching remote cache results
|
# detching remote cache results
|
||||||
|
|
|
@ -36,6 +36,15 @@ repos:
|
||||||
exclude: &exclude_pattern "^(docs|e2e|lib/tests)/"
|
exclude: &exclude_pattern "^(docs|e2e|lib/tests)/"
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
- repo: https://github.com/crate-ci/typos
|
||||||
|
rev: v1.23.2
|
||||||
|
hooks:
|
||||||
|
- id: typos
|
||||||
|
exclude: |
|
||||||
|
(?x)^(
|
||||||
|
docs/|
|
||||||
|
lib/
|
||||||
|
)
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: aspect_rules_lint
|
- id: aspect_rules_lint
|
||||||
|
|
|
@ -52,7 +52,7 @@ For example to use commit `abc123`:
|
||||||
|
|
||||||
## Writing rules
|
## Writing rules
|
||||||
|
|
||||||
- [expand_make_vars](docs/expand_make_vars.md) Perform make variable and location substitions in strings..
|
- [expand_make_vars](docs/expand_make_vars.md) Perform make variable and location substitutions in strings..
|
||||||
- [expand_template](docs/expand_template.md) Substitute templates with make variables, location resolves, stamp variables, and arbitrary strings.
|
- [expand_template](docs/expand_template.md) Substitute templates with make variables, location resolves, stamp variables, and arbitrary strings.
|
||||||
- [paths](docs/paths.md) Useful path resolution methods.
|
- [paths](docs/paths.md) Useful path resolution methods.
|
||||||
- [transitions](docs/transitions.md) Transition sources to a provided platform.
|
- [transitions](docs/transitions.md) Transition sources to a provided platform.
|
||||||
|
|
Loading…
Reference in New Issue