diff --git a/.aspect/bazelrc/correctness.bazelrc b/.aspect/bazelrc/correctness.bazelrc index a599f6d85..f381062ae 100644 --- a/.aspect/bazelrc/correctness.bazelrc +++ b/.aspect/bazelrc/correctness.bazelrc @@ -68,7 +68,7 @@ build --incompatible_default_to_explicit_init_py common --incompatible_disallow_empty_glob # 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. # Docs: https://bazel.build/reference/command-line-reference#flag--experimental_fetch_all_coverage_outputs # detching remote cache results diff --git a/.aspect/bazelrc/javascript.bazelrc b/.aspect/bazelrc/javascript.bazelrc index dc768641e..f86c22ce4 100644 --- a/.aspect/bazelrc/javascript.bazelrc +++ b/.aspect/bazelrc/javascript.bazelrc @@ -12,7 +12,7 @@ run:debug -- --node_options=--inspect-brk # Enable runfiles on all platforms. Runfiles are on by default on Linux and MacOS but off on # Windows. # -# In general, rules_js and derivate rule sets assume that runfiles are enabled and do not support no +# In general, rules_js and derivative rule sets assume that runfiles are enabled and do not support no # runfiles case because it does not scale to teach all Node.js tools to use the runfiles manifest. # # If you are developing on Windows, you must either run bazel with administrator privileges or diff --git a/.aspect/workflows/terraform/workflows.tf b/.aspect/workflows/terraform/workflows.tf index 0c68d547d..1d9b70dd6 100644 --- a/.aspect/workflows/terraform/workflows.tf +++ b/.aspect/workflows/terraform/workflows.tf @@ -50,7 +50,7 @@ module "aspect_workflows" { default = { # Aspect Workflows requires machine types that have local SSD drives. See # https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for full list - # of machine types availble on GCP. + # of machine types available on GCP. machine_type = "n1-standard-4" image_id = data.google_compute_image.runner_image.id use_preemptible = true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f29aa0e4..f88aca744 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,3 +36,12 @@ repos: exclude: &exclude_pattern "^(docs|e2e|lib/tests)/" - id: mixed-line-ending - id: trailing-whitespace + - repo: https://github.com/crate-ci/typos + rev: typos-dict-v0.11.2 + hooks: + - id: typos + exclude: | + (?x)^( + docs/| + lib/ + ) diff --git a/README.md b/README.md index 0ceef29e6..c179ffc76 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ For example to use commit `abc123`: ## 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. - [paths](docs/paths.md) Useful path resolution methods. - [transitions](docs/transitions.md) Transition sources to a provided platform.