mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:49:37 +08:00
4986dc8351
Backport #27556 by @techknowlogick this builds binaries and docker images for tags Co-authored-by: techknowlogick <techknowlogick@gitea.com>
45 lines
685 B
YAML
45 lines
685 B
YAML
extends: default
|
|
|
|
rules:
|
|
braces:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
min-spaces-inside-empty: 0
|
|
max-spaces-inside-empty: 0
|
|
|
|
brackets:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
min-spaces-inside-empty: 0
|
|
max-spaces-inside-empty: 0
|
|
|
|
comments:
|
|
require-starting-space: true
|
|
ignore-shebangs: true
|
|
min-spaces-from-content: 1
|
|
|
|
comments-indentation:
|
|
level: error
|
|
|
|
document-start:
|
|
level: error
|
|
present: false
|
|
|
|
document-end:
|
|
present: false
|
|
|
|
empty-lines:
|
|
max: 1
|
|
|
|
indentation:
|
|
spaces: 2
|
|
|
|
line-length: disable
|
|
|
|
truthy:
|
|
allowed-values: ["true", "false", "on", "off"]
|
|
|
|
ignore: |
|
|
.venv
|
|
node_modules
|