diff --git a/.codacy.yml b/.codacy.yml new file mode 100644 index 0000000..5d787a9 --- /dev/null +++ b/.codacy.yml @@ -0,0 +1,4 @@ +--- +exclude_paths: + - '_client/web/stream_saver.js' + - '_client/web/wasm_exec.js' \ No newline at end of file diff --git a/_client/web/emitter.go b/_client/web/emitter.go index 92d2e5f..f1c8d84 100644 --- a/_client/web/emitter.go +++ b/_client/web/emitter.go @@ -1,4 +1,5 @@ // +build js,wasm + package main import ( diff --git a/_client/web/main.go b/_client/web/main.go index fc74992..9aab9a4 100644 --- a/_client/web/main.go +++ b/_client/web/main.go @@ -1,4 +1,5 @@ // +build js,wasm + package main import ( diff --git a/_client/web/receiver.go b/_client/web/receiver.go index e538d73..914a39c 100644 --- a/_client/web/receiver.go +++ b/_client/web/receiver.go @@ -1,4 +1,5 @@ // +build js,wasm + package main import ( diff --git a/_client/web/utils.go b/_client/web/utils.go index 7db5c9a..9097f66 100644 --- a/_client/web/utils.go +++ b/_client/web/utils.go @@ -1,4 +1,5 @@ // +build js,wasm + package main import "syscall/js"