Skip to content

Adapt to elvis_core 5.x - #602

Merged
elbrujohalcon merged 20 commits into
masterfrom
fix/elvis_core-5.x
Mar 14, 2026
Merged

elbrujohalcon merged 20 commits into
masterfrom
fix/elvis_core-5.x

Conversation

@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator

Didn't test this thoroughly, but trust CI.

Comment thread src/elvis.erl Outdated
Comment thread src/elvis.erl Outdated
@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator Author

I tested this locally with the elvis_core version I'm about to push for PR. Lemme know if changes are required.

Comment thread config/elvis2.config
Comment thread src/elvis.erl Outdated
Comment thread src/elvis.erl
Comment thread src/elvis.erl
Comment thread src/elvis.erl
Comment thread src/elvis.erl
Comment thread src/elvis.erl
@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator Author

When you wanna test this you'll need to update rebar.config, then .lock with the elvis_core branch: https://github.com/inaka/elvis_core/pull/609/changes

Comment thread src/elvis.erl Outdated

@elbrujohalcon elbrujohalcon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left some comments here and there, but I'm approving.

Comment thread rebar.config Outdated
Comment thread rebar.config Outdated
@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator Author

When elvis_core's done, lemme know and we'll pull a branch, or main ref. here to do it properly, Ok?

paulo-ferraz-oliveira and others added 15 commits March 13, 2026 23:10
To use it, set --warnings_as_errors=false, or -e=false
The previous test was reading from elvis.config, inside config
as a an application element (check deleted default_config())

Thing is this is inconsistent with elvis_core, that'll
try to read elvis_core, in its namespace, which makes me
be pretty sure this isn't being used in the wild!
Co-authored-by: Brujo Benavides <fernando_benavides_rodriguez@baxter.com>
@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator Author

Pushing a new elvis_core ref. It should be fixed before release.

@paulo-ferraz-oliveira

Copy link
Copy Markdown
Collaborator Author

We got ✅

@elbrujohalcon

Copy link
Copy Markdown
Member

https://hex.pm/packages/elvis_core/5.0.1 is done :)

@elbrujohalcon
elbrujohalcon merged commit cffd4fc into master Mar 14, 2026
3 checks passed
@elbrujohalcon
elbrujohalcon deleted the fix/elvis_core-5.x branch March 14, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants