Disable maligned check.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-10-10 20:26:52 +00:00
parent 9135ef2c07
commit aab0c5df77

View File

@ -25,6 +25,7 @@ for d in $(find . -type d -a \( -iwholename './pkg*' -o -iwholename './cmd*' \))
--exclude='duplicate of.*_test.go.*\(dupl\)$' \
--exclude='.*/mock_.*\.go:.*\(golint\)$' \
--exclude='declaration of "err" shadows declaration.*\(vetshadow\)$' \
--exclude='struct of size .* could be .* \(maligned\)$' \
--disable=aligncheck \
--disable=gotype \
--disable=gas \