diff options
author | Luke Bakken <luke@bakken.io> | 2021-11-03 09:15:55 -0700 |
---|---|---|
committer | Luke Bakken <luke@bakken.io> | 2021-11-03 09:15:55 -0700 |
commit | 53ed2c3d40b9b4cf67348f6e447fef51391f8845 (patch) | |
tree | 3b8ef71ea1a9d3d538518ae41966366ed3224c16 | |
parent | 1368cb9449b141fff930d60e46171f0d1630b3db (diff) | |
download | rabbitmq-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.config | 7 |
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" |