-
Notifications
You must be signed in to change notification settings - Fork 39
Tweak rebar.config (update deps then fixed issue warnings)
#120
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
Merged
tsloughter
merged 16 commits into
elli-lib:main
from
paulo-ferraz-oliveira:fix/rebar.config
Jun 28, 2024
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7d89236
Update dep.s and plugins
paulo-ferraz-oliveira 6f9d28e
Handle rebar3_lint -issued warning for no_block_expressions
paulo-ferraz-oliveira ac4aaec
Handle rebar3_lint -issued warning for private_data_types
paulo-ferraz-oliveira 4f7d2a7
Handle rebar3_lint -issued warning for no_catch_expressions
paulo-ferraz-oliveira 752d90d
Handle rebar3_lint -issued warning for atom_naming_convention
paulo-ferraz-oliveira bdccf31
Handle rebar3_lint -issued warning for max_function_arity
paulo-ferraz-oliveira e3aa3db
Handle rebar3_lint -issued warning for god_modules
paulo-ferraz-oliveira 86ef1a7
Handle rebar3_lint -issued warning for export_used_types
paulo-ferraz-oliveira 3908309
Handle rebar3_lint -issued warning for consistent_variable_casing
paulo-ferraz-oliveira d82dcd9
Handle rebar3_lint -issued warning for no_single_clause_case
paulo-ferraz-oliveira 4a70eaa
Handle rebar3_lint -issued warning for line_length
paulo-ferraz-oliveira b1f60ca
rebar3_lint: update elvis.config
paulo-ferraz-oliveira 78e5efa
Try to find a rebar3_lint version that acts on 22+
paulo-ferraz-oliveira 00df5b4
Separate rebar3_lint and eunit in CI
paulo-ferraz-oliveira bd8806c
Move minimum_otp_vsn and CI to 24+
paulo-ferraz-oliveira 4e9012f
Act on review comments: keep test as-was
paulo-ferraz-oliveira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +1,27 @@ | ||
| [ | ||
| { | ||
| elvis, | ||
| [ | ||
| {config, | ||
| [#{dirs => [ | ||
| "src" | ||
| %% TODO: "test" | ||
| ], | ||
| filter => "*.erl", | ||
| rules => [ | ||
| {elvis_style, no_tabs}, | ||
| {elvis_style, no_trailing_whitespace}, | ||
| {elvis_style, no_if_expression}, | ||
| {elvis_style, no_nested_try_catch}, | ||
| {elvis_style, invalid_dynamic_call, | ||
| #{ignore => [ | ||
| elli, | ||
| elli_http, | ||
| elli_middleware, | ||
| elli_test | ||
| ]}}, | ||
| {elvis_style, used_ignored_variable}, | ||
| {elvis_style, no_behavior_info}, | ||
| {elvis_style, state_record_and_type}, | ||
| {elvis_style, no_spec_with_records}, | ||
| {elvis_style, dont_repeat_yourself}, | ||
| {elvis_style, no_debug_call} | ||
| ], | ||
| ruleset => erl_files | ||
| }, | ||
| #{dirs => ["."], | ||
| filter => "Makefile", | ||
| ruleset => makefiles | ||
| }, | ||
| #{dirs => ["."], | ||
| filter => "rebar.config", | ||
| {elvis, [ | ||
| {config, [ | ||
| #{ | ||
| dirs => ["src/**", "test/**"], | ||
| filter => "*.erl", | ||
| ruleset => erl_files, | ||
| rules => [ | ||
| {elvis_style, operator_spaces, disable}, | ||
| {elvis_style, invalid_dynamic_call, disable}, | ||
| {elvis_style, dont_repeat_yourself, disable}, | ||
| {elvis_style, no_throw, disable} | ||
| ] | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => "rebar.config", | ||
| ruleset => rebar_config | ||
| }, | ||
| #{dirs => ["."], | ||
| filter => "elvis.config", | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => "elvis.config", | ||
| ruleset => elvis_config | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ]} | ||
| ]} | ||
| ]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.