fix: move everything to LF (#588)

* fix: move everything to LF

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

* feat: metalinter

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
pull/582/head
Henrique Dias 2018-12-28 19:19:54 +00:00 committed by GitHub
parent 4945635bd6
commit b344efef2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 96 additions and 98 deletions

View File

@ -1,38 +1,38 @@
{ {
"Enable": [ "Enable": [
"deadcode", "deadcode",
"gotype", "gotype",
"gotypex", "gotypex",
"ineffassign", "ineffassign",
"interfacer", "interfacer",
"maligned", "maligned",
"megacheck", "megacheck",
"structcheck", "structcheck",
"unconvert", "unconvert",
"varcheck", "varcheck",
"vet" "vet"
], ],
"Disable": [ "Disable": [
"dupl", "dupl",
"errcheck", "errcheck",
"gochecknoglobals", "gochecknoglobals",
"gochecknoinits", "gochecknoinits",
"goconst", "goconst",
"gocyclo", "gocyclo",
"gofmt", "gofmt",
"goimports", "goimports",
"golint", "golint",
"gosec", "gosec",
"gosimple", "gosimple",
"lll", "lll",
"misspell", "misspell",
"nakedret", "nakedret",
"safesql", "safesql",
"staticcheck", "staticcheck",
"test", "test",
"testify", "testify",
"unparam", "unparam",
"unused", "unused",
"vetshadow" "vetshadow"
] ]
} }

View File

@ -25,8 +25,6 @@ if [ "$USE_DOCKER" != "" ]; then
filebrowser/dev \ filebrowser/dev \
sh -c "\ sh -c "\
cd build && \ cd build && \
dos2unix build_assets.sh && \
dos2unix build.sh && \
./build_assets.sh && \ ./build_assets.sh && \
./build.sh \ ./build.sh \
" "