Skip to content

Commit aed3cf1

Browse files
committed
Update bin/lint to run hk
`hk` is a tool that runs linters so we can change our `bin/lint` script to call `hk`.
1 parent 26856d5 commit aed3cf1

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

bin/lint

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
#!/bin/sh
22

3-
set -e
4-
5-
bin/rubocop --autocorrect-all $*
6-
yarn prettier --write --list-different --ignore-unknown ${*:-'**/*'}
7-
bin/bundle exec rufo ${*:-app}
8-
if [ -z "$*" ]; then
9-
bin/brakeman --quiet --no-summary --no-pager
10-
terraform fmt -recursive
11-
else
12-
terraform fmt $*
13-
fi
14-
tflint --chdir=terraform --init
15-
tflint --chdir=terraform --recursive
3+
hk fix

0 commit comments

Comments
 (0)