c78c833400
* github-ci: color unit test output and logs * new config option: force_color_logs (useful in CI) * bats: show sqlite/mysql dump at the end * removed "-v" (print package names) from "go build" * general workflow cleanup
43 lines
903 B
Text
43 lines
903 B
Text
---
|
|
rules:
|
|
braces:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
brackets:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
colons:
|
|
max-spaces-before: 0
|
|
max-spaces-after: 1
|
|
commas:
|
|
max-spaces-before: 0
|
|
min-spaces-after: 1
|
|
max-spaces-after: 1
|
|
comments:
|
|
level: warning
|
|
require-starting-space: true
|
|
min-spaces-from-content: 2
|
|
comments-indentation:
|
|
level: warning
|
|
document-end: disable
|
|
document-start: disable
|
|
empty-lines:
|
|
max: 2
|
|
max-start: 0
|
|
max-end: 0
|
|
hyphens:
|
|
max-spaces-after: 1
|
|
indentation:
|
|
spaces: consistent
|
|
indent-sequences: whatever
|
|
check-multi-line-strings: false
|
|
key-duplicates: enable
|
|
line-length:
|
|
max: 180
|
|
allow-non-breakable-words: true
|
|
allow-non-breakable-inline-mappings: false
|
|
new-line-at-end-of-file: enable
|
|
new-lines:
|
|
type: unix
|
|
trailing-spaces: enable
|
|
truthy: disable
|