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

Add credo lint support #3452

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

brianmay
Copy link
Collaborator

I think having credo support for style linting is desirable, bit surprised we don't already have it.

"mix credo" shows a number of warnings, but this PR is about adding credo checks, not fixing the warnings.

The config file is just the basic created with mix credo gen.config.

@JakobLichterfeld
Copy link
Collaborator

Thanks, had this in my mind as well.

@DrMichael
Copy link
Collaborator

So, can we merge that then?

(Can someone fix that error "test/teslamate/vehicles/vehicle/charging_test.exs:94: (test)" with the checks?)

@JakobLichterfeld
Copy link
Collaborator

JakobLichterfeld commented Nov 19, 2023

Will look into it by tomorrow (review and ci)

@JakobLichterfeld JakobLichterfeld added the enhancement New feature or request label Nov 20, 2023
Copy link
Collaborator

@JakobLichterfeld JakobLichterfeld left a comment

Choose a reason for hiding this comment

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

lgtm, one small finding

mix.lock Show resolved Hide resolved
@JakobLichterfeld JakobLichterfeld merged commit 40fcda6 into teslamate-org:master Nov 22, 2023
1 of 2 checks passed
JakobLichterfeld pushed a commit that referenced this pull request Feb 9, 2024
@brianmay brianmay deleted the add_credo branch March 30, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants