commit | 4e8d3b48511e959308dcd83c1db4dfeb52479ffe | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Mon Sep 11 22:35:45 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 11 22:35:45 2023 +0000 |
tree | 9dd7062405d0073f2117b6a16c9f21d9ca9e28c1 | |
parent | 6c1587fb54fa6ebb6355c717a16eddf84c859b34 [diff] |
[checks] Add buildifier check for starlark formatting Change-Id: I554df41097ab45c59b8a0d19dfc7a32dad97478f Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/913158 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Anthony Fandrianto <atyfto@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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.