-
Notifications
You must be signed in to change notification settings - Fork 18
Adapt to new elvis_core configuration validation
#72
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
Open
paulo-ferraz-oliveira
wants to merge
7
commits into
master
Choose a base branch
from
fix/new-config-base
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b96e2fb
Remove internal-only unnecessary -spec
paulo-ferraz-oliveira 4b4c3d3
Adapt to new elvis_core configuration validation
paulo-ferraz-oliveira ffa5799
Fix tests and stuff
paulo-ferraz-oliveira 1a8db4e
Simplify it!
paulo-ferraz-oliveira 2401862
Remove extraneous ~n
paulo-ferraz-oliveira 0b4676b
Fail as rebar3 expects us to
paulo-ferraz-oliveira 01d651d
Adapt to elvis_core's auto-find
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| .rebar3 | ||
| erl_crash.dump | ||
| rebar3.crashdump | ||
| _* | ||
| .rebar3/ | ||
| /erl_crash.dump | ||
| /rebar3.crashdump | ||
| _build/ | ||
| _checkouts/ | ||
| doc/ | ||
| logs | ||
| test/logs/ |
elbrujohalcon marked this conversation as resolved.
Show resolved
Hide resolved
|
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
elbrujohalcon marked this conversation as resolved.
Show resolved
Hide resolved
|
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 +1,26 @@ | ||
| []. | ||
| [ | ||
| {elvis, [ | ||
| {config, [ | ||
| #{ | ||
| dirs => ["src"], | ||
| filter => "*.erl", | ||
| ruleset => erl_files_strict | ||
| }, | ||
| #{ | ||
| dirs => ["test"], | ||
| filter => "*.erl", | ||
| ruleset => erl_files_test | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => "rebar.config", | ||
| ruleset => rebar_config | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => ".gitignore", | ||
| ruleset => gitignore | ||
| } | ||
| ]} | ||
| ]} | ||
| ]. |
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 |
|---|---|---|
|
|
@@ -10,7 +10,10 @@ | |
|
|
||
| %% == Dependencies and plugins == | ||
|
|
||
| {deps, [{elvis_core, "4.1.1"}]}. | ||
| {deps, [ | ||
| {elvis_core, | ||
| {git, "https://github.com/inaka/elvis_core.git", {branch, "fix/config-parse-validate"}}} | ||
|
Comment on lines
+14
to
+15
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| ]}. | ||
|
|
||
| {project_plugins, [ | ||
| {rebar3_hank, "~> 1.4.0"}, | ||
|
|
||
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,14 +1,11 @@ | ||
| {"1.2.0", | ||
| [{<<"elvis_core">>,{pkg,<<"elvis_core">>,<<"4.1.1">>},0}, | ||
| {<<"katana_code">>,{pkg,<<"katana_code">>,<<"2.4.1">>},1}, | ||
| [{<<"katana_code">>,{pkg,<<"katana_code">>,<<"2.4.1">>},1}, | ||
| {<<"zipper">>,{pkg,<<"zipper">>,<<"1.1.0">>},1}]}. | ||
| [ | ||
| {pkg_hash,[ | ||
| {<<"elvis_core">>, <<"0F69E9F1512C1EA68C65ABC805079DC3A5B22E0E16E0DE8DDDBB780A43D007A9">>}, | ||
| {<<"katana_code">>, <<"4C116DC6CF6E5ABCFBB95BD904EBEED36D79463D1EED349CF47A828F4723BAC4">>}, | ||
| {<<"zipper">>, <<"FA775C01BCD33225BE89AF320C10CE61D23943109F4D5CA718551D0C492D7E35">>}]}, | ||
| {pkg_hash_ext,[ | ||
| {<<"elvis_core">>, <<"80A562574B8D974A2E7544E9A9455716D04C9E095DBC8C8915E2468031DD1385">>}, | ||
| {<<"katana_code">>, <<"58EFC63B5D9DABC82230CAB50CDE7F7B259287A690ED699F79A7FA80F49B0B3A">>}, | ||
| {<<"zipper">>, <<"4644C83AE83EF3C09860CB5ED597B0C759FBBCD64AD5B00A62F51AE48AEF7535">>}]} | ||
| ]. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| % A bad config. to use in tests | ||
| [ | ||
| {elvis, [ | ||
| {config, [ | ||
| #{ | ||
| dirs => ["src"], | ||
| filter => "*.erl", | ||
| ruleset => erl_files_strict | ||
| }, | ||
| #{ | ||
| dirs => ["test"], | ||
| filter => "*.erl", | ||
| ruleset => erl_files_test | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => "rebar.config", | ||
| ruleset => rebar_config | ||
| }, | ||
| #{ | ||
| dirs => ["."], | ||
| filter => ".gitignore", | ||
| ruleset => gitignore | ||
| } | ||
| ]} | ||
| ]} | ||
| ]. |
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
Oops, something went wrong.
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.