Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce erlang_ls.yaml #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gilbertwong96
Copy link

And also disable the export_all warning

And disable the `export_all` warning
-compile(export_all).
-compile(nowarn_export_all).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because erlang_ls compiles this file outside of the test profile of rebar3?

Comment on lines +8 to +16
lenses:
enabled:
- ct-run-test
- show-behaviour-usages

diagnostics:
enabled:
- crossref
- dialyzer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These all seem user dependent, right? Not something to commit to a project where a user may want different lenses and diagnostics?

@whatyouhide
Copy link
Contributor

How does this work? Does this configure the Erlang LS, or some linting or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants