0.5.0
Pre-release
Pre-release
This is the fifth alpha release of the program. It brings the new rules forStatements
and ifStatements
, breaking changes to hasDoc
rule's settings, several new settings for the program, a couple of fixes for bugs and new "features". Tag BREAKING means the change break compatibility with a previous version of the program. Below are changes since the last release:
Added
- Configuration setting
reset
which allows reset the program's configuration
in the configuration file to change the program's settings without stopping
it. - Configuration setting
message
to add a custom messages to the program's
output, console and the log file. - Configuration setting
forcefixcommand
which allows force subsequent
program's rules to use their auto fix code or the command defined with the
fixcommand
setting. - BREAKING: rule
hasDoc
needs now option to set what kind of entities
should be checked. fix
type of rule tohasDoc
rule. It can now delete documentation or
add a template of documentation to the checked code.- New rule
ifStatements
to checkif
statements in code for various things,
like empty statements, negative conditions, etc. - New rule
forStatements
to checkfor
statements in code, do they usepairs
anditems
iterators or not.
Changed
- Updated the project's documentation.
- Made rules' custom options case-insensitive.
- Better formatting of error message for rules.
Fixed
- Typos in Changelog.
- Typos in the program's configuration's documentation.
- Detecting documentation of objects types declaration by
hasDoc
rule.