ruby-advisory-db icon indicating copy to clipboard operation
ruby-advisory-db copied to clipboard

[Pre537] Change github_advisory_sync.rb script to conform to project style guidelines

Open jasnow opened this issue 1 year ago • 1 comments

Change github_advisory_sync.rb script to conform to project style guidelines.

Such as: a. Fix indentation for related:/url:, patched_versions: and unafffected_versions fields.

  * "patched_version:" field needs to be moved over 4 spaces from left margin.
  * "related"/"url:" lines need to be moved over 2 spaces more (for total of 4 spaces from left margin).

b. Use of double quotes over single quotes

  • Exception: Can use single quotes when the text contains a period (".") or colon (":").

c. Fix description: multi-line format syntax. d. Remove extra "url:" from related:/url: values. e. Line wrap description: field to 80 columns.

  • Expect more to come

jasnow avatar Jun 24 '23 12:06 jasnow