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>

Former-commit-id: 3e371bf0dc4d8205fd2ab4d1b64328b7659242c0 [formerly 5c776eafad1350b9f55b3417bf63f51d372e1663] [formerly ef8552957375306c1ab58db6cead3fdf92bc1758 [formerly b344efef2d]]
Former-commit-id: b8e19acffb00ef1546a7005b1956a858038199f2 [formerly 2b9920caa1bf71b44f245ee3d246b41170f5aecf]
Former-commit-id: 36c7a82150c1ca5d528aeb7aadae243661966560
pull/726/head
Henrique Dias 2018-12-28 19:19:54 +00:00 committed by GitHub
parent c8b5728743
commit 998dd9430d
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 \
" "