summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorAndreas Hollmann <andreas.hollmann@ppro.com>2018-10-29 23:48:05 +0100
committerAndreas Hollmann <andreas.hollmann@ppro.com>2018-10-30 11:46:53 +0100
commitef7b4af917d13c4da24226dc72c8d4c421933f14 (patch)
treecabcac6b2e050a003506eaf39cd52f98d0e39003 /ale_linters
parentcae40e1c347064bd3ab5eb4c04e9e357d3d82105 (diff)
downloadale-ef7b4af917d13c4da24226dc72c8d4c421933f14.zip
Do not enable all clang-tidy checks by default
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/c/clangtidy.vim2
-rw-r--r--ale_linters/cpp/clangtidy.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/c/clangtidy.vim b/ale_linters/c/clangtidy.vim
index 54137480..4f334655 100644
--- a/ale_linters/c/clangtidy.vim
+++ b/ale_linters/c/clangtidy.vim
@@ -10,7 +10,7 @@ call ale#Set('c_clangtidy_executable', 'clang-tidy')
" Consult the check list in clang-tidy's documentation:
" http://clang.llvm.org/extra/clang-tidy/checks/list.html
-call ale#Set('c_clangtidy_checks', ['*'])
+call ale#Set('c_clangtidy_checks', [])
" Set this option to manually set some options for clang-tidy.
" This will disable compile_commands.json detection.
call ale#Set('c_clangtidy_options', '')
diff --git a/ale_linters/cpp/clangtidy.vim b/ale_linters/cpp/clangtidy.vim
index 2f3089b4..9c3da8db 100644
--- a/ale_linters/cpp/clangtidy.vim
+++ b/ale_linters/cpp/clangtidy.vim
@@ -4,7 +4,7 @@
call ale#Set('cpp_clangtidy_executable', 'clang-tidy')
" Set this option to check the checks clang-tidy will apply.
-call ale#Set('cpp_clangtidy_checks', ['*'])
+call ale#Set('cpp_clangtidy_checks', [])
" Set this option to manually set some options for clang-tidy.
" This will disable compile_commands.json detection.
call ale#Set('cpp_clangtidy_options', '')