Skip to content

Add endStyle attribute to DocCommentStyle #508

@EliteMasterEric

Description

@EliteMasterEric

In order to match the comment style used as standard in languages like JavaScript, asymmetrical start and end styles must be used, like so:

/**
 * Test
 */

a new configuration option is needed for the DocCommentStyle rule: https://haxecheckstyle.github.io/docs/haxe-checkstyle/doccommentstyle.html

{
  "type": "DocCommentStyle",
  "props": {
    "startStyle": "twostars",
    "lineStyle": "oneStar",
    "endStyle": "oneStar"
  }
}

For compatibility, this option should default to the current value of startStyle.

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