mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 14:14:57 +08:00
add package comment and enable all checks of staticcheck
This commit is contained in:
parent
8d31a98aa7
commit
49d37b4903
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -45,7 +45,7 @@ test: build
|
|||
.PHONY: lint
|
||||
lint: $(GOBIN)/staticcheck
|
||||
go vet ./...
|
||||
staticcheck ./...
|
||||
staticcheck -checks all ./...
|
||||
|
||||
$(GOBIN)/staticcheck:
|
||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
|
|
|
|||
1
mmv.go
1
mmv.go
|
|
@ -1,3 +1,4 @@
|
|||
// Package mmv provides a method to rename multiple files.
|
||||
package mmv
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue