Releases: HaxeCheckstyle/haxe-checkstyle
Releases · HaxeCheckstyle/haxe-checkstyle
haxelib release
haxelib release
- bug fixes & minor tweaks
haxelib release
- minor updates
haxelib release
- new checks
- code climate integration
- improvements and bug fixes
v2 release
checkstyle v2
New checks
SimplifyBooleanExpression
MultipleVariableDeclarations
AvoidInlineConditionals
EmptyBlock
OperatorWrap
SeparatorWrap
WhitespaceAfter
WhitespaceAround
Tree Tokenizer
- implemented tree tokenizer, adding a new class of checks based on tokens and their relationship
- tree tokenizer arranges all tokens into a tree structure
- all tree nodes have the same type with position info
- easy traversal of token tree
- access to parent token
- refactored
LeftCurly
,RightCurly
andNeedBraces
checks to use token tree - 💥 BREAKING CHANGE 💥 removed
BlockFormat
check -> useLeftCurly
,RightCurly
andEmptyBlock
instead
Possible issues
- unhandled combinations of tokens can result in endless loops or stack traces in checks using token-tree
- temporary solution -> disable check in config
- open an issue with sample code
Big thanks to @AlexHaxe for all his contributions and also to @Gama11 for his feedback and contributions.
haxelib release
haxelib release
- bug fixes
- added
allowEmptyLineAfterComment
option toEmptyLinesCheck
(default:true
) - added
defaultSeverity
setting in the config - added
json
report option
haxelib release
- bug fixes
haxelib release
- bug fix in
BlockFormat
check
haxelib release
💥 BREAKING CHANGES 💥
- EmptyLinesCheck - changed
maxConsecutiveEmptyLines
tomax
- LineLengthCheck - changed
maxCharacters
tomax
- MethodLengthCheck - changed
maxFunctionLines
tomax