Releases: HaxeCheckstyle/haxe-checkstyle
Releases · HaxeCheckstyle/haxe-checkstyle
haxe-checkstyle v2.5.0
- Breaking Change split
OperatorWhitespaceCheck.functionArgPolicy
intoarrowFunctionPolicy
,oldFunctionTypePolicy
andnewFunctionTypePolicy
#467 - Breaking Change using
--
for long options in cli (#472) - New check BlockBreakingConditional (#471)
- New check InlineFinal (#472)
- Added
afterDocCommentField
to ExtendedEmptyLinesCheck (#469) - Added thread support for eval target (#469)
- Added
allowTrailingComma
to SeparatorWhitespaceCheck and WhitespaceAfterCheck (#470) - Added
FINAL
to ModifierOrder check default (#472) - Added NodeJS detection to launch NodeJS version if available (#475)
- Fixed enum abstract detection in MagixNumber check, fixes #104 (#449)
- Fixed indentation of
)
, fixes #450 (#451) - Fixed typedef extension (Haxe 3.x) #452
- Fixed parentheses with dot #454
- Fixed double for #455
- Fixed indentation in brackets #456
- Fixed return indentation #457
- Fixed indentation of arrow #459
- Fixed position change of semicolon #460
- Fixed TypeDocCommentCheck with conditionals, fixes #465 (#467)
- Fixed suppression of UnnecessaryConstructor, fixes #466 (#467)
- Fixed Java regexp issue in IndentationCheck (#468)
- Fixed empty lines between types with conditionals (#469)
- Fixed empty lines before comments with conditionals (#472)
- Fixed EFunction changes in Haxe 4rc4 (#474)
- Fixed null pointer references for C++ (#476)
- Changed return block indentation #453
- Changed applied formatter #461
- Refactored coverage reporting #462
haxe-checkstyle v2.4.2
- New check DocCommentStyle #440
- New check FieldDocComment, fixes #87 (#442 + #444)
- New check TypeDocComment #440
- New check RedundantAccessMeta, fixes #193 (#445)
- New check RedundantAllowMeta, fixes #193 (#445)
- Added relaxed mode to ConfigParser, fixes #441 (#443)
- Fixed handling of comments between types in ExtendedEmptyLines #440
- Fixed unittest and coverage reporting for Haxe 4 #442
- Fixed indentation calculation for functions bodys without curly braces #443
- Fixed segmentaion faults in NeedBraces and CatchParameterName checks #443
- Fixed reported position of EmptyBlock check #444
- Fixed BrOpen detection in NeedBraces check #446
- Changed message of NestedForLoop check #443
- Changed autodetection for nested for/if/try checks to start at zero #444
- Refactored
Checker.getLinePos
to use binary search, reduces runtime from O(N/2) to O(log N) #439
haxe-checkstyle v2.4.1
- Added JSON schemas for
checkstyle.json
andcheckstyle-exclude.json
file formats #431 + #432 + #433 - Added code documentation #433
- Added message codes to help with vscode-checkstyle quickfixes #436
- Added
TIntersection
handling #436 - Added
buildJS.hxml
- Fixed reported character positions #435
- Changed default policy of ExtendedEmptyLines check to
upto
#434 - Moved token tree into separate library #434
haxe-checkstyle v2.4.0
- New check ExtendedEmptyLines #426 + #427
- Added check's names to text output #420
- Added version number to configuration file #422
- Added ranges to exclude configuration, fixes #120 (#424)
- Fixed handling of relative paths when using
extendsConfigPath
#420 - Fixed detection of absolute paths when using
extendsConfigPath
#422 - Fixed reported position of Indentation check #421
- Fixed Haxe 4 compilation and reenabled Travis CI development build #423 + #425
- Fixed Codeclimate reporter output for C++ target #428
- Fixed segmentation fault when checking zero length files #428
- Improved if / else detection of RightCurly check #421
- Improved support for eval target and Haxe 4 #423
- Refactored configuration parser #420
- Refactored check exclusion handling #424
- Refactored comment placement in token tree #429
- Cleanup
checkstyle.json
#427
haxe-checkstyle v2.3.1
- New command line option
-show-parser-errors
to include parser errors into checkstyle results (default: off) #413 - Added more checks for automatic coding style detection #414 + #417
- Fixed handling of
Arrow
in type names in TokenTree #413 - Fixed handling of
Dot
afterKwdNew
in TokenTree #413 - Fixed line number reported for MethodCount check #415
- Fixed position info for AvoidStarImport, Trace, UnnecessaryConstructor, UnusedLocalVar and UnusedImport checks #416
- Improved automatic detection of coding style by not stopping at the first change in number of violations #415
- Improved handling of file content and
class
parsing in TokenTree #413 - Refactored handling of internal errors (parsing and checks) #413
- Cleanup command line options #418
- Removed
-report
command line option #418
haxe-checkstyle v2.3.0
- New
extendsConfigPath
field to config files, fixes #401 (#407 + #408) - New experimental command line option
-detect <filename>
to generate a checkstyle configuration file based on a source folder #409 + #410 - Added
conditionalPolicy
to Indentation check #411 - Fixed sort order of detected checkstyle configuration #410
- Fixed null pointer exception when parsing fails on C++ #411
- Improved detection rate for
RightCurlyCheck
#411 - Refactored indentation check messages #409
haxelib release
- Fixed handling of default setters/getters in indentation check #391
- Fixed token tree structure for Sharp(If) inside Kwd(KwdCase) #394
- Fixed comments in function parameters #395
- Fixed parser errors when handling block and object declarations, fixes #396 (#397)
- Fixed BkOpen childs in token tree parser #398
- Fixed bad offset crash with C++ build on Windows 10 #398
- Fixed object declaration handling #399
- Fixed false positives for files with UTF-8 characters when running as vscode-checkstyle #402
- Fixed comments in typedefs #404 + #405
- Refactored content handling to use Bytes instead of String (should fix #98) #402
- Added unittests for ParserQueue and CheckerPool #393
- Added unittests for TokenTree structure verification #400
- Removed
.
from default settings in SeparatorWrapCheck #400 - Improved wrapped code detection #392 + #403
haxelib release
haxelib release
- multiple fixes in token tree parser
- added multithreading for parsing and checking
haxelib release
- added
enforceReturnTypeForAnonymous
option toReturnCheck
#357