commit | 45bc69f39a589772d50f112b8c3875b10e3ee935 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Sep 13 15:42:32 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 13 15:42:32 2023 +0000 |
tree | f58467c96c20910f0a87155e1399dc2f7adfd8c5 | |
parent | 426b05fac6fab71fa78befcfab86c530062646c6 [diff] |
[doc] Use 4-space indents for example code The official buildifier formatter for Starlark uses 4-space indents, so make example code compliant with that. Change-Id: I005114149748f78d4cb34596239289a236557006 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/915358 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
Planned features/changes, in descending order by priority:
shac.textproto
shac.star
files.shac
cache directory that checks can write toctx.scm
glob
arguments to ctx.scm.{all,affected}_files()
functions for easier filtering⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.