File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ # See CONTRIBUTING.md for instructions.
2
+ # See https://pre-commit.com for more information
3
+ # See https://pre-commit.com/hooks.html for more hooks
4
+ repos :
5
+ - repo : https://github.com/keith/pre-commit-buildifier
6
+ rev : 4.0.1.1
7
+ hooks :
8
+ - id : buildifier
9
+ - id : buildifier-lint
Original file line number Diff line number Diff line change 3
3
We'd love to accept your patches and contributions to this project. There are
4
4
just a few small guidelines you need to follow.
5
5
6
+ ## Formatting
7
+
8
+ Starlark files should be formatted by buildifier.
9
+ We suggest using a pre-commit hook to automate this.
10
+ First [ install pre-commit] ( https://pre-commit.com/#installation ) ,
11
+ then run
12
+
13
+ ``` shell
14
+ pre-commit install
15
+ ```
16
+
17
+ Otherwise the Buildkite CI will yell at you about formatting/linting violations.
18
+
6
19
## File or claim an issue
7
20
8
21
Please let us know what you're working on if you want to change or add to the
You can’t perform that action at this time.
0 commit comments