summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <luke@bakken.io>2021-11-03 09:15:55 -0700
committerLuke Bakken <luke@bakken.io>2021-11-03 09:15:55 -0700
commit53ed2c3d40b9b4cf67348f6e447fef51391f8845 (patch)
tree3b8ef71ea1a9d3d538518ae41966366ed3224c16
parent1368cb9449b141fff930d60e46171f0d1630b3db (diff)
downloadrabbitmq-server-git-53ed2c3d40b9b4cf67348f6e447fef51391f8845.tar.gz
Tweak more erlang_ls settings
As suggested in #3647: * Add commented-out section to disable bound_var_in_pattern * Comment-out `elvis` as that is not yet a standard used by the team cc @kjnilsson @mkuratczyk
-rw-r--r--erlang_ls.config7
1 files changed, 5 insertions, 2 deletions
diff --git a/erlang_ls.config b/erlang_ls.config
index 16fc12154b..e1a0870802 100644
--- a/erlang_ls.config
+++ b/erlang_ls.config
@@ -1,14 +1,17 @@
+# vim: ft=yaml
+# https://erlang-ls.github.io/configuration/
# otp_path: "/path/to/otp/lib/erlang"
deps_dirs:
- "deps/*"
- "deps/rabbit/apps/*"
diagnostics:
- disabled: []
+ # disabled:
+ # - bound_var_in_pattern
enabled:
- crossref
- dialyzer
- - elvis
- compiler
+ # - elvis
include_dirs:
- "deps"
- "deps/*/include"