1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: lint with misspell

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2019-06-28 10:13:56 -03:00
parent 728154b7d7
commit 0a8478bf19
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
5 changed files with 4 additions and 5 deletions

View File

@ -13,7 +13,6 @@ env:
- PATH=/snap/bin:$PATH
install:
- make setup
- npm install -g prettier
- sudo snap install snapcraft --classic
script:
- make ci

View File

@ -10,6 +10,7 @@ export GOPROXY := https://gocenter.io
setup:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh
curl -sfL https://install.goreleaser.com/github.com/gohugoio/hugo.sh | sh
curl -L https://git.io/misspell | sh
go mod download
.PHONY: setup
@ -26,14 +27,13 @@ cover: test
# gofmt and goimports all go files
fmt:
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done
# find . -name '*.md' -not -wholename './vendor/*' | xargs prettier --write
.PHONY: fmt
# Run all the linters
lint:
# TODO: fix tests and lll issues
./bin/golangci-lint run --tests=false --enable-all --disable=lll ./...
# find . -name '*.md' -not -wholename './vendor/*' | xargs prettier -l
./bin/misspell -error **/*
.PHONY: lint
# Run all the tests and code checks

View File

@ -5,7 +5,7 @@ weight: 500
hideFromIndex: true
---
This page will be used to list deprecation notices accross GoReleaser.
This page will be used to list deprecation notices across GoReleaser.
Deprecate code will be removed after ~6 months from the time it was deprecated.

View File

@ -142,7 +142,7 @@ puts:
username: deployuser
# An optional header you can use to tell GoReleaser to pass the artifact's
# SHA256 checksum withing the upload request.
# SHA256 checksum within the upload request.
# Default is empty.
checksum_header: -X-SHA256-Sum

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB