mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
Make lint ignore certain files regardless of location:
This commit is contained in:
8
lint
8
lint
@@ -116,10 +116,10 @@ function lint {
|
||||
fi
|
||||
|
||||
# Don't lint this script or static.go
|
||||
case "${filename}" in
|
||||
./lint) return;;
|
||||
./app/static.go) return;;
|
||||
./coverage.html) return;;
|
||||
case "$(basename "${filename}")" in
|
||||
lint) return;;
|
||||
static.go) return;;
|
||||
coverage.html) return;;
|
||||
esac
|
||||
|
||||
case "$ext" in
|
||||
|
||||
Reference in New Issue
Block a user