Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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>
68 lines
1.2 KiB
YAML
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
|