- Added -v / --verbose command line switch
- Fixed null pointer exception with module level fields on static targets
- Moved from munit+mcover to utest+instrument
- New check
FileNameCase
to check file names match module names (#527) - Fixed XMLReporter to no longer escape
/
to/
(#527)
- Fixed inner assignement check to allow assignment in arrow functions, fixes #259
- Updated tokentree lib
- Fixed null pointer reference in BaseReporter, fixes #517 (#518)
- Fixed null pointer reference in JSONReporter (#516)
- Fixed C++ compilation on nightly
- Fixed MagicNumber check to support numeric separators and suffixes (#515)
- Updated haxeparser and tokentree libs to support latest Haxe nightly syntax (#514)
- New check
CommentedOutCode
to check comments for commented out code fragments (#512) - Fixed Haxe nightly compilation (#505)
- Added related messages to reporters for
CodeSimilarity
check (#506) - Fixed null pointer exception in
UnusedImport
check (#507) - Updated to Haxe 4.2.4 (#512)
- Retired Haxe 4.0.5 compile support (#512)
- Breaking Change replaced
EnforceVarTypeHint
withVarTypeHint
check (#500) - Added support for final in
MagicNumber
, fixes #494 (#495) - Fixed handling
OBJECT_DECL
token inRightCurly
, fixes #496 (#497) - Reorganised build files (#498)
- Refactored for tokentree API change (#500 + #501)
- Updated haxeparser lib with latest syntax changes (#502)
- Retired Haxe 3.4.7 compile support (#502)
- Added
allowFinal
setting toVariableInitialisation
, fixes #491 (#492) - Changed message of
Final
check when detectingpublic static var
(#493) - Changed message of
ModifierOrder
check to include actual and expected modifier order (#493)
- Breaking Change changed
MethodLength.countEmpty
intoignoreEmptyLines
(#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
andtry
) (#485) - Added coverage upload to codeclimate (#478)
- Added
ignoreEmptyLines
inFileLengthCheck
to ignore empty lines (default = true) (#486) - Added support for final in
DocCommentStyle
andFieldDocComment
checks (#487) - Added suggestion to use
final
forpublic static var
fields inFinal
check (#487) - Added ringbuffer for similarity hashes allowing vscode extension (and others) to manage cache (#488)
- Changed default value for
max
inFileLengthCheck
to 1000 (#486) - Changed
MethodLength
check to use tokentree (#486) - Changed reported position for
FieldDocComment
andMethodLength
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
andReturnCount
checks (#488) - Refactored build system to use lix (#478)
- Refactored / renamed
AvoidInlineConditionals
toAvoidTernaryOperator
(#479) - Refactored / renamed
InlineFinal
toFinal
(#487)
- 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
- 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
- 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
- Release of "Haxe Checkstyle" extension for vscode
- 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
- 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
- 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
- Fixed handling of default setters/getters in indentation check #391
- Fixed token tree structure for
Sharp(If)
insideKwd(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 ofString
(should fix #98) #402 - Added unittests for
ParserQueue
andCheckerPool
#393 - Added unittests for TokenTree structure verification #400
- Removed
.
from default settings inSeparatorWrapCheck
#400 - Improved wrapped code detection #392 + #403
- New check IndentationCheck #387
- New CHANGES.md
- Added a reset function for checks (#279)
- Added unittest for #78
- Fixed
XMLReporter
output after introducing multithreading in 2.2.0 #389 - Updated formula for number of pre-parsed files #386
- Removed conditional section for unittest #181
- Added support for Binop(OpIn) #352 (#359)
- Added 1 parser and n checker threads (#374)
- use
-checkerthreads n
to change number of checker threads (range:1-15 default: 5) - use
-nothreads
to turn off threads and use old behaviour - use
numberOfCheckerThreads
in config file to set number of checker threads (seeresources/default-conmfig.json
)
- use
- Fixed allow same regex logic for "all" excludes, fixes #361 (#362)
- Fixed altering position info in
RightCurlyCheck
(#367) - Fixed multiple metadatas infront of statement (#369)
- Fixed C++ compilation (#376)
- Fixed coverage (#378)
- Fixed compilation to JS (used in vscode-checkstyle extension) (#379)
- Fixed support for comments in var and parameter definitions, fixes #363 (#364)
- Fixed support for expression metadata in token tree, fixes #365 (#366)
- Refactored object decl handling in token tree (#372)
- Refactored unit testing from haxe.unit to munit (#377)
- Removed Patreon link (#375)