easyp-tech / easyp

Apache License 2.0
77 stars 3 forks source link

feat: Add rule name to output #78

Closed hound672 closed 4 months ago

hound672 commented 4 months ago

TEXT:

file.proto:51:1:fsfsdf message comment is empty (COMMENT_MESSAGE)

JSON:

{
  "Position": {
    "Filename": "",
    "Offset": 1245,
    "Line": 51,
    "Column": 1
  },
  "SourceName": "fsfsdf",
  "Message": "message comment is empty",
  "RuleName": "COMMENT_MESSAGE",
  "Path": "file.proto"
}