Skip to content

Breaking: 3.0.0: redesign the comments after comma #17

@kaelzhang

Description

@kaelzhang

2.x

{
  "a": 1, // before:b <-- if we add a new prop between `a` and `b`, then this comment will be miss replaced
  // before:b <-- there is a blank line after this comment

  // before:b
  "b": // after-comma:b <-- typo issue, should be after-colon:b
  2 // after-value: b
  , // before:c
  // before:c
  "c": 3
}

= 3.0.0:

{
  "a": 1, // after-comma:a
  // after-comma:a

  // before:b
  "b": // after-colon:b
  2 // after-value: b
  , // after-comma:b
  // before:c
  "c": 3
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions