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 a -elvis attribute #529

Closed
paulo-ferraz-oliveira opened this issue Sep 11, 2020 · 0 comments · Fixed by inaka/elvis_core#136
Closed

Add a -elvis attribute #529

paulo-ferraz-oliveira opened this issue Sep 11, 2020 · 0 comments · Fixed by inaka/elvis_core#136

Comments

@paulo-ferraz-oliveira
Copy link
Collaborator

As per @elbrujohalcon's #488 (comment).

I would allow for individual modules to have some way to override the global config with attributes like:

-module my_module.

-elvis #{ module => [{elvis_style, god_modules, disable}]
        , {my_function, 2} => [{elvis_style, operator_spaces, #{rules => [{right, ","}]}}]
        , …
        }.

-export [my_function/2].

my_function(A, B) ->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant