Skip to content

haxe-checkstyle v2.6.0

Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 01 Dec 11:48
· 66 commits to dev since this release
e32c1e8
  • Breaking Change changed MethodLength.countEmpty into ignoreEmptyLines (#486)
  • New check CodeSimilarity to check for similar or identical code blocks (#479 + #480 + #484 + #486 + #488)
  • New check EnforceVarTypeHint to enforce type hints for all variables and finals, fixes #464 (#481 + #482)
  • New check AvoidIdentifier marks identifiers to avoid (#483)
  • New check ArrowFunction to check for curlies, nested functions and returns in arrow functions (#484)
  • New check NestedControlFlow to check for nested control flow expressions (e.g. if, for, while, do/while, switch and try) (#485)
  • Added coverage upload to codeclimate (#478)
  • Added ignoreEmptyLines in FileLengthCheck to ignore empty lines (default = true) (#486)
  • Added support for final in DocCommentStyle and FieldDocComment checks (#487)
  • Added suggestion to use final for public static var fields in Final check (#487)
  • Added ringbuffer for similarity hashes allowing vscode extension (and others) to manage cache (#488)
  • Changed default value for max in FileLengthCheck to 1000 (#486)
  • Changed MethodLength check to use tokentree (#486)
  • Changed reported position for FieldDocComment and MethodLength to only include function signature (#487)
  • Changed Dynamic check implementation to tokentree, now only reports token location (#489)
  • Fixed range exclusion to allow excluding construtor (new) (#479)
  • Fixed reported positions for FieldDocComment, MethodLength, ParameterNumber, RedundantModifier and ReturnCount checks (#488)
  • Refactored build system to use lix (#478)
  • Refactored / renamed AvoidInlineConditionals to AvoidTernaryOperator (#479)
  • Refactored / renamed InlineFinal to Final (#487)