Skip to content

Releases: HaxeCheckstyle/haxe-checkstyle

haxelib release

10 Sep 17:26
Compare
Choose a tag to compare
  • fix for negative values in switch/cases #280
  • count duplicate checks only once #275
  • fix for multiline file boundary issue
  • fixed LtGt handling when using macro reification #281
  • removed severity for each check in default config #284
  • unused imports now checks string interpolation for types
  • code cleanup

haxelib release

16 May 08:28
Compare
Choose a tag to compare
  • bug fixes & minor tweaks

haxelib release

29 Mar 19:29
Compare
Choose a tag to compare
  • minor updates

haxelib release

28 Mar 18:27
Compare
Choose a tag to compare
  • new checks
  • code climate integration
  • improvements and bug fixes

v2 release

04 Mar 11:04
Compare
Choose a tag to compare

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 and NeedBraces checks to use token tree
  • 💥 BREAKING CHANGE 💥 removed BlockFormat check -> use LeftCurly, RightCurly and EmptyBlock 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

Limitations

Big thanks to @AlexHaxe for all his contributions and also to @Gama11 for his feedback and contributions.

haxelib release

01 Mar 09:34
Compare
Choose a tag to compare
  • improvements and bug fixes - thanks to @AlexHaxe & @Gama11
  • 💥 BREAKING CHANGE 💥 allowEmptyLineAfterComment was removed and seperated into allowEmptyLineAfterSingleLineComment and allowEmptyLineAfterMultiLineComment in EmptyLinesCheck

haxelib release

29 Feb 10:58
Compare
Choose a tag to compare
  • bug fixes
  • added allowEmptyLineAfterComment option to EmptyLinesCheck (default: true)
  • added defaultSeverity setting in the config
  • added json report option

haxelib release

28 Feb 11:00
Compare
Choose a tag to compare
  • bug fixes

haxelib release

02 Dec 09:22
Compare
Choose a tag to compare
  • bug fix in BlockFormat check

haxelib release

15 Nov 19:04
Compare
Choose a tag to compare

💥 BREAKING CHANGES 💥

  • EmptyLinesCheck - changed maxConsecutiveEmptyLines to max
  • LineLengthCheck - changed maxCharacters to max
  • MethodLengthCheck - changed maxFunctionLines to max