Releases: inaka/elvis_core
Releases · inaka/elvis_core
4.1.1
What's Changed
- Fix badge link and support range by @paulo-ferraz-oliveira in #474
- Alternative fix for #476 by @elbrujohalcon in #479
Full Changelog: 4.1.0...4.1.1
4.1.0
What's Changed
- New
elvis_text_style
rule:no_redundant_blank_lines
by @bormilan in #381 - Add option
no_whitespace_after_limit
to ruleline_length
by @williamthome in #386 - Add option
count_docs
to rulemax_module_length
by @williamthome in #385 - New
elvis_style
rule:no_boolean_in_comparison
by @bormilan in #383 - Format codebase with
erlfmt
by @bormilan in #388 - Allow test generators in default
function_naming_convention
regex by @pbrudnick in #391 - Fix false positive warning for
no_match_in_condition
by @belltoy in #394 - New
elvis_style
rule:no_operation_on_same_value
by @elbrujohalcon in #395 - Clarify documentation for rule
no_debug_call
by @paulo-ferraz-oliveira in #399 - Improve documentation with "Avoid" vs. "Prefer" and "Quick fix" by @paulo-ferraz-oliveira in #403
- New
elvis_style
rule:no_single_match_maybe
by @elbrujohalcon in #412 - Make documentation easier to follow with icons by @paulo-ferraz-oliveira in #413
- Add some history to the documentation by @paulo-ferraz-oliveira in #417
- New
elvis_style
rule:no_nested_hrls
by @elbrujohalcon in #429 - Spot some issues with
elvis.config
(non-existing modules, non-existing rules) by @bormilan in #397 - Some minor tweaks for
andalso
/orelse
"ambiguity" by @paulo-ferraz-oliveira in #437 - Propose a few changes to (the codebase's) readability and shared elements by @paulo-ferraz-oliveira in #442
- Fix
operator_spaces
for [=
,=>
,:=
,<-
,<=
], while adding?=
to it, too by @paulo-ferraz-oliveira in #446 - Add
{gen_statem, call, 2}
,{gen_server, call, 2}
, and{gen_event, call, 3}
to optioncaveat_functions
in ruleno_common_caveats_call
by @paulo-ferraz-oliveira in #450 - Improve
macro_module_names
' test suite (increase it with elements from a report) by @paulo-ferraz-oliveira in #449 - Simplify
elvis_code
by @paulo-ferraz-oliveira in #447 - Fix
no_boolean_in_comparison
: adds [=:=
,/=
,=/=
] by @paulo-ferraz-oliveira in #448 - Update katana-code and remove dialyzer attribute by @elbrujohalcon in #452
- Rely on
beam_files
for pre-processed -related analysis (no_debug_call
,invalid_dynamic_call
, ...) by @paulo-ferraz-oliveira in #451 - Fix
prefer_unquoted_atoms
(match better) by @paulo-ferraz-oliveira in #455 - New rulesets:
hrl_files_strict
andbeam_files_strict
by @paulo-ferraz-oliveira in #453 - Allow for OTP behaviours to bypass
export_used_types
by @paulo-ferraz-oliveira in #457 - Lint
elvis_core
further by @paulo-ferraz-oliveira in #456 - Reuse code when possible (minor tweak/fix to
elvis_file:module/1
) by @paulo-ferraz-oliveira in #458 - Add
list_to_atom/1
andbinary_to_atom/1,2
to ruleno_common_caveats_call
's optioncaveat_functions
(default) by @paulo-ferraz-oliveira in #464 - A few minor fixes around documentation and moving towards OTP 28 by @paulo-ferraz-oliveira in #465
- Improve
invalid_dynamic_call
; deprecatemacro_module_names
by @elbrujohalcon in #467 - Further code reviews on #467 by @elbrujohalcon in #468
- Add
{dbg, '_'}, {dyntrace, '_'}, {instrument, '_'}
tono_debug_call
by @paulo-ferraz-oliveira in #471 - New
elvis_style
rule:no_receive_without_timeout
by @elbrujohalcon in #472 - Add
{left, "."}, {left, ";"}
tono_space
; add{right, ";"}
tooperator_spaces
by @paulo-ferraz-oliveira in #470 - Support OTP 28 by @paulo-ferraz-oliveira in #466
- Add
<:=
,<:-
, and&&
(left
andright
) to ruleoperator_spaces
by @paulo-ferraz-oliveira in #463
New Contributors
- @williamthome made their first contribution in #386
- @pbrudnick made their first contribution in #391
Full Changelog: 4.0.0...4.1.0
4.0.0-otp24
What's Changed
- New
elvis_text_style
rule:no_redundant_blank_lines
by @bormilan in #381 - Add
no_whitespace_after_limit
to theline_length
options by @williamthome in #386 - Add
count_docs
tomax_module_length
rule options by @williamthome in #385 - New
elvis_style
rule:no_boolean_in_comparison
by @bormilan in #383 - Format codebase with
erlfmt
by @bormilan in #388 - Allow test generators in default
function_naming_convention
regex by @pbrudnick in #391 - Fix false positive warning for
no_match_in_condition
by @belltoy in #394 - New
elvis_style
rule:no_operation_on_same_value
by @elbrujohalcon in #395 - Clarify documentation for rule
no_debug_call
by @paulo-ferraz-oliveira in #399 - Allow recent changes to be used in Erlang/OTP24 by @elbrujohalcon in #400
New Contributors
- @williamthome made their first contribution in #386
- @pbrudnick made their first contribution in #391
Full Changelog: 4.0.0...4.0.0-otp24
4.0.0
What's Changed
- Add opaque state as a type declaration by @belltoy in #354
- Breaking: update atom naming convention's default regex by @bormilan in #356
- feat(#297): New rule: Prefer Unquoted Atoms by @bormilan in #355
- Add a pull request template by @paulo-ferraz-oliveira in #359
- Add a security policy by @paulo-ferraz-oliveira in #361
- Minor tweaks: versioning, default elements, contributing by @paulo-ferraz-oliveira in #362
- Add a code of conduct by @paulo-ferraz-oliveira in #360
- Tweak some defaults:
macro_names
,operator_spaces
,no_space
,function_naming_convention
,module_naming_convention
,no_debug_call
by @paulo-ferraz-oliveira in #358 - Remove "I have performed a self-review of my changes" from the pull request template by @paulo-ferraz-oliveira in #363
- Add new ruleset,
gitignore
, with rulesgitignore_required_patterns
andgitignore_forbidden_patterns
by @paulo-ferraz-oliveira in #357 - Feature more
no_common_caveats_call
default options by @paulo-ferraz-oliveira in #364 - A few minor tweaks around doc. rules by @paulo-ferraz-oliveira in #366
- New
elvis_style
rule:max_function_clause_length
by @bormilan in #365 - New
elvis_style
rule:no_init_lists
by @bormilan in #367 - Closes #311 - fix no_match_in_condition reports a warning even when the condition includes a valid match by @bormilan in #368
- Closes #351 - fix false positive on no_nested_try_catch by @bormilan in #369
- fix(no_successive_maps): prevent failing on nested maps by @bormilan in #372
- Fix
protocol_for_deps
allow forgit_subdir
'sref
andtag
by @paulo-ferraz-oliveira in #373 - Ets fun2ms without ms transform by @bormilan in #374
- Fixes #352 - Avoid reporting ignored variables as used when they are used inside a macro by @bormilan in #376
- add forbidden regex by @bormilan in #377
- change(atom_naming_convention): do not apply to function names by @bormilan in #378
- add(max_function_arity): limit for non exported functions by @bormilan in #379
New Contributors
Full Changelog: 3.2.5...4.0.0
3.2.5
What's Changed
- Fix CI execution conditions: pull request + push to main by @paulo-ferraz-oliveira in #348
- Add Line to relevant calls (#346) by @zsoci in #347
- OTP 27: bump
katana_code
from 2.1.0 to 2.1.1 by @paulo-ferraz-oliveira in #350
New Contributors
Full Changelog: 3.2.4...3.2.5
3.2.4
What's Changed
- Act on
non_reversible_form
as an exception to atom naming conventions by @paulo-ferraz-oliveira in #345
Full Changelog: 3.2.3...3.2.4
3.2.3
What's Changed
- Test over OTP 27 and rebar3 3.23 by @paulo-ferraz-oliveira in #341
- Be less wasteful of CI by @paulo-ferraz-oliveira in #340
- Fix (
function_clause
) to supportgit_subdir
inprotocol_for_deps_rebar
by @paulo-ferraz-oliveira in #343
Full Changelog: 3.2.2...3.2.3
3.2.2
What's Changed
no_macros
now allows forlogger
default macros (?LOG
,?LOG_...
and friends) by @kivra-pauoli in #338
Full Changelog: 3.2.1...3.2.2
3.2.1
What's Changed
- Prevent Hex.pm complaint on invalid license type by @paulo-ferraz-oliveira in #331
- Allow errorless consumption by
rebar3_lint
by @paulo-ferraz-oliveira in #332
Full Changelog: 3.2.0...3.2.1
3.2.0
What's Changed
- Generate a working ex_doc > GitHub link by @paulo-ferraz-oliveira in #318
- Updated some versions by @paulo-ferraz-oliveira in #319
- Add wildcard support in no_call_functions by @attah in #326
- New ruleset:
erl_files_strict
by @kivra-pauoli in #330
New Contributors
- @attah made their first contribution in #326
- @kivra-pauoli made their first contribution in #330
Full Changelog: 3.1.0...3.2.0