Open
Description
The formatter should:
- Unify labels and translate them to lower case (Clean up labels a bit and see if contributions here are welcome. #4277)
- Unify repository urls and remove trailing slahes for example
- Remove redundant keys that would be equivalent to what PC finds from
details
, notablyreadme
,author
,base
- Remove redundant keys that specify the general default value, notably
platforms
(also"platforms": ["windows", "linux", "osx"]
) - Unify whitespace usage. I'm thinking of what
example-repository.json
uses, which is:- Block style by default, that means a new line for each value
- Inline style (in same line) for
labels
,author
andplatforms
keys - The same indentation/whitespace style (I don't think I need to explain this)
- No trailing whitespaces
- Newline at EOF
- -(Optional) Add a
name
key for github repos if none present? We could make this a soft requirement in the process. - Transform all
platforms
values into a list?
More?
Metadata
Metadata
Assignees
Labels
No labels