creativecommons.github.io-source icon indicating copy to clipboard operation
creativecommons.github.io-source copied to clipboard

[Content] add JSON linting (automatic formatting) to JavaScript Guidelines

Open possumbilities opened this issue 3 years ago • 2 comments

Problem

There is not currently a consistent method by which to lint JSON across repositories

Description

The least intrusive route would be to create a singular repository with the right linting setup, and then a GH Action that would run, grabbing the config from that repo and applying the linting to various repos as part of a workflow.

This could be documented in the Guidelines, however if it was seamless enough it might not be necessary to be a part of the Guidelines and could instead run "behind the scenes" on trigger.

Alternatives

  • utlize npm-package-json-lint directly within repo

Additional context

possumbilities avatar Sep 16 '22 21:09 possumbilities

i want to work on this little bug.... can you please assign to me.

nsundriyal62 avatar Aug 16 '23 17:08 nsundriyal62

@nsundriyal62 - Contributions are always welcomed. Please see Contribution Guidelines — Creative Commons Open Source for how we manage issues and PRs (we generally don't assign issues prior to resolution).

TimidRobot avatar Aug 18 '23 14:08 TimidRobot