Skip to content

Getting "modifer order is invalid" errors final vars #520

@Geokureli

Description

@Geokureli

https://codeclimate.com/github/HaxeFlixel/flixel/pull/2772
Screenshot 2023-04-13 at 3 05 47 PM

Obviously, the order cannot be any other way. Furthermore, my checkstyle.json doesn't list final in the list of modifiers so I expect its order to be ignored.

https://github.com/HaxeCheckstyle/haxe-checkstyle/blob/dev/src/checkstyle/checks/modifier/ModifierOrderCheck.hx
Zeta mentioned that checkstyle doesn't differentiate between vars and functions when checking modifiers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions