Strip comments from JSON. Lets you use comments in your JSON files!
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/grunt-strip-json-comments. Description: Strip comments from JSON. Lets you use comments in your JSON files! Stars: 14, Forks: 7. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus, Richienb, Mottie.
Options weren't included, so this is my attempt to add support. I am not that proficient with Grunt plugins, so I'm not sure if this is the best method. Thanks!
In an attempt to use this plugin on multiple files, I could not get any of the file formats or globbing patterns to work - I only see errors. Running "stripJsonComments:src" (stripJsonComments) task Warning: Unable to read "src/a.js,src/b.js,src/c.js" file (Error code: ENOENT). Use --force to continue. Am I missing something? I'm not familiar with Grunt plugins, so I wouldn't know what changes were needed to submit a PR.