pelican/.golangci.yaml
Dan Anglin d167039176
All checks were successful
/ test (pull_request) Successful in 3m13s
/ lint (pull_request) Successful in 1m4s
feat(ui): add support for editing cards
This commit adds support for editing an existing card's title and
description. The (previously named) input modal has been enhanced to
support both creating and editing cards.

Part of apollo/pelican#14
2024-01-10 18:21:14 +00:00

45 lines
831 B
YAML

---
run:
concurrency: 2
timeout: 1m
issues-exit-code: 0
tests: true
output:
format: colored-line-number
print-issues-lines: true
print-linter-name: true
uniq-by-line: true
sort-results: true
linters-settings:
depguard:
rules:
main:
files:
- $all
allow:
- $gostd
- codeflow.dananglin.me.uk/apollo/pelican
- github.com/gdamore/tcell/v2
- github.com/rivo/tview
exhaustivestruct:
struct-patterns:
- 'forge.dananglin.me.uk/code/dananglin/pelican.Status'
- 'forge.dananglin.me.uk/code/dananglin/pelican.Card'
lll:
line-length: 140
testpackage:
skip-regexp: (internal)_test\.go
linters:
enable-all: true
disable:
- gomnd
fast: false
issues:
exclude-rules:
- path: db_internal_test.go
linters:
- funlen