Skip to content

Commit

Permalink
add linter script
Browse files Browse the repository at this point in the history
  • Loading branch information
gwen917 committed Sep 6, 2023
1 parent 0d732cc commit 8a0a24d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.

set -o errexit
set -o nounset
set -o pipefail

golangci-lint run --path-prefix=. --timeout 3m

0 comments on commit 8a0a24d

Please sign in to comment.