Releases: crystal-ameba/ameba
Releases · crystal-ameba/ameba
v0.9.2
Improvements
- Rules now have severities. The
--fail-level
can be set to control the level of failure #100
Bug fixes
v0.9.1
- Now globs can be used to exclude files as a cli argument: (see 3c5e3cd)
$ ameba path/to/shard/*.cr !path/to/shard/lib
$ ameba . !lib
- Formatting to explain the issue at a point is slightly adjusted to be markdown compatible, see f294bb6
- New integrations added:
- Ale (vim plugin), see dense-analysis/ale#2174
- VSCode: https://github.com/veelenga/vscode-crystal-ameba
- New Rule:
Metrics/CyclomaticComplexity
, see #92 - Improved
Lint/LiteralInCondition
rule, so it is able to report literals properly verifying them recursively. see #96
v0.9.0
New Features
- New rules:
- Allow showing the affected code in the default report #85
- Let Ameba explain the issue at a specified location #86
- Codacy-Ameba integration project, which is still in review by the Codacy team.
Improvements
- Correct the end location of the issue reported by
ConstantNames
, see e951c07 - Correct the end location of the issue reported by
MethodNames
, see f8dab3b - Correct the line number of the issue reported by
TrailingBlankLines
, see 32ac199
Bug fixes
- Fix regression with
UnusedArgument
rule and crystal latest release, see 60ce034
v0.8.1
v0.8.0
New Features
-
Now rules have namespaces (i.e. style, lint, layout), see #63
-
It became possible to run only rules that belong to a specific namespace, see #65
$ ameba --only Style,Lint $ ameba --except Style
-
It became possible to disable a group of rules by inline directive, see 98f0aa7
time = Time.epoch(1483859302) # ameba:disable Style, Lint
Improvements
- Fix
Makefile
to avoid rebuild if bin/ameba exists, see #69 - Disable
PredicateName
andLargeNumbers
rules by default, see 970ca4b - Now ameba accepts
--all
cli flag, that enables all available rules (even if they are disabled by default), 248c5a6 - Added
--no-color
cli flag to disable colorizing, see d60aea1
Bugfixes
v0.7.0
New Features:
- Now Ameba has a Roadmap
- Crystal 0.25.0 support, see #57
- New rule
ShadowingOuterLocalVar
, which detects the shadowing of outer local variables, see #59 - New rule
ShadowedArgument
, which detects the shadowing of arguments, see #60
Improvements:
- Now it is possible to include/exclude files in a config using a wildcard, see #61
Error
is renamed toIssue
which is semantically more correct, see #62- JSON reporter now reports the end location of the issue, see #62
Bugfixing:
v0.6.0
New features:
- Detection of useless assignments #41
- Detection of unused arguments #52
- JSON output formatter #54
- SublimeText linter plugin #55
Improvements:
- Add a space delimiter to duplicated hash keys d307f01
- Drop
--no-debug
flag when building 5647621 - Constantize error messages #50
- Improve usage info 58e6b42