Update editorconfig & formatting

This commit is contained in:
Manuel 2023-02-02 14:15:17 +01:00
parent bfd1d7c5ba
commit e6f94b8e3b
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 18 additions and 8 deletions

View file

@ -4,5 +4,15 @@ root = true
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[{v.mod,*.v}]
indent_style = tab
tab_width = 4
indent_size = 4
[*.{yml,yaml,hcl,toml}]
indent_style = space
indent_size = 2
[*.{diff,md}]
trim_trailing_whitespace = false

View file

@ -5,5 +5,5 @@ redirect = false
redirect_url = ""
db_path = "./db/app.db"
origins = [
"*"
"*"
]

View file

@ -1,17 +1,17 @@
variable "REG" {
default = "git.snrd.eu"
default = "git.snrd.eu"
}
variable "REPO" {
default = "sunred/highscore-server"
default = "sunred/highscore-server"
}
variable "TAG" {
default = "latest"
default = "latest"
}
group "default" {
targets = ["production"]
targets = ["production"]
}
target "production" {
output = ["type=docker"]
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
output = ["type=docker"]
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
}