mattermost-plugin-shelfmark/.golangci.yml
Felipe M. 5ae3d9e272
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add webapp boilerplate from starter template and switch build to bun
Restore the webapp directory from the mattermost-plugin-starter-template
to enable frontend development. Replace all npm/NPM references with bun
across the Makefile, build/setup.mk, and golangci-lint config. Add the
webapp bundle_path back to plugin.json.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 09:28:10 +01:00

68 lines
1.2 KiB
YAML

version: "2"
run:
timeout: 5m
modules-download-mode: readonly
linters:
default: none
enable:
- bidichk
- bodyclose
- errcheck
- gocritic
- gosec
- govet
- ineffassign
- makezero
- misspell
- modernize
- nakedret
- revive
- staticcheck
- unconvert
- unqueryvet
- unused
- whitespace
settings:
misspell:
extra-words:
- typo: "Comando"
correction: "Comando"
govet:
enable-all: true
disable:
- fieldalignment
revive:
rules:
- name: exported
disabled: true
- name: unused-parameter
disabled: true
unqueryvet:
check-sql-builders: true
exclusions:
paths:
- webapp
rules:
- path: server/configuration.go
linters:
- unused
- path: _test\.go
linters:
- bodyclose
formatters:
enable:
- gofmt
- gofumpt
- goimports
settings:
gofmt:
simplify: true
rewrite-rules:
- pattern: interface{}
replacement: any
goimports:
local-prefixes:
- git.nakama.town/fmartingr/mattermost-plugin-shelfmark