disable linters on files which should be soon deprecated (#4176)
Paweł Krupa committed
Sep 12, 2018 at 20:51 UTC
760c5ee4e6ffd3c1503edd5ce5fda79dd0a19cad
5 files changed
+6
-1
.travis.yml
+1
-1
@@ -28,7 +28,7 @@ jobs:
28
script: docker run --rm -v $(pwd)/web:/code eeacms/csslint sh -c "csslint /code/*.css" || echo "OK"
29
- name: "bash"
30
install: skip
31
- script: docker run --rm --volume "$(pwd)":/project:ro --entrypoint sh koalaman/shellcheck-alpine:v0.4.7 -c 'for file in $(find /project/ -type f -name "*.sh"); do if ! shellcheck --format=gcc $file; then export FAILED=true; fi; done; if [ "$FAILED" != "" ]; then exit 1; fi' || echo "OK"
31
+ script: docker run --rm --volume "$(pwd)":/project:ro --entrypoint sh koalaman/shellcheck-alpine:v0.5.0 -c 'for file in $(find /project/ -type f -name "*.sh" ! -path "*/makeself/*" ); do if ! shellcheck --format=gcc $file; then export FAILED=true; fi; done; if [ "$FAILED" != "" ]; then exit 1; fi' || echo "OK"
32
- stage: "test"
33
name: "C"
34
install: sudo apt-get install -y libcap2-bin zlib1g-dev uuid-dev fakeroot libipmimonitoring-dev libmnl-dev libnetfilter-acct-dev
installer/functions.sh
+1
@@ -1,5 +1,6 @@
1
# no shebang necessary - this is a library to be sourced
2
# SPDX-License-Identifier: GPL-3.0+
3
+# shellcheck disable=SC1091,SC1117,SC2002,SC2004,SC2034,SC2046,SC2059,SC2086,SC2129,SC2148,SC2154,SC2155,SC2162,SC2166,SC2181,SC2193
4
5
# make sure we have a UID
6
[ -z "${UID}" ] && UID="$(id -u)"
kickstart-static64.sh
+1
@@ -1,5 +1,6 @@
1
#!/usr/bin/env sh
2
# SPDX-License-Identifier: GPL-3.0+
3
+# shellcheck disable=SC1117,SC2016,SC2034,SC2039,SC2059,SC2086,SC2119,SC2120,SC2129,SC2162,SC2166,SC2181
4
5
umask 022
6
kickstart.sh
+2
@@ -24,6 +24,8 @@
24
#
25
# 3. install netdata
26
27
+# shellcheck disable=SC1117,SC2016,SC2034,SC2039,SC2059,SC2086,SC2119,SC2120,SC2129,SC2162,SC2166,SC2181
28
+
29
umask 022
30
31
[ -z "${UID}" ] && UID="$(id -u)"
netdata-installer.sh
+1
@@ -1,5 +1,6 @@
1
#!/usr/bin/env bash
2
# SPDX-License-Identifier: GPL-3.0+
3
+# shellcheck disable=SC1090,SC1091,SC1117,SC2002,SC2034,SC2044,SC2046,SC2086,SC2129,SC2162,SC2166,SC2181
4
5
export PATH="${PATH}:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
6
uniquepath() {