diff --git a/.editorconfig b/.editorconfig index 53018ba52..0eb62f2ff 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,4 @@ -# http://editorconfig.org - +# https://editorconfig.org root = true [*] @@ -7,23 +6,5 @@ charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true - -[*.go] -indent_style = tab -indent_size = 2 - -[Dockerfile] indent_style = tab indent_size = 4 - -[Makefile] -indent_style = tab -indent_size = 4 - -[.travis.yml] -indent_style = space -indent_size = 2 - -[*.json] -indent_style = space -indent_size = 2 diff --git a/.goreleaser.yml b/.goreleaser.yml index 7df2c5941..8da249a7a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,6 +2,8 @@ builds: - env: [CGO_ENABLED=0] flags: - -trimpath + ldflags: + - -s -w goos: - linux - windows diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index c20cb3f0c..000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "${workspaceFolder}/main.go", - "env": {}, - "args": [] - } - ] -} \ No newline at end of file