#25754 closed enhancement (maybelater)
add jsonlint for our json files
Reported by: | jorbin | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8 |
Component: | Build/Test Tools | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
We now have jshint for validation on our javascript, we should also add jsonlint so that our json files receive similar love.
Attachments (1)
Change History (7)
#3
in reply to:
↑ 2
@
11 years ago
Replying to nacin:
Given that package.json is essentially a frozen file and our only JSON file, is it worth adding another dependency and an extra step to the build process?
Right now, probably not. Suggest maybelater.
#4
@
11 years ago
I tend to agree. This might be needed in the future if we have more often modified JSON files, but I don't think the benefits outweigh the extra dependency and build time right this instant.
#5
@
11 years ago
- Milestone Awaiting Review deleted
- Resolution set to maybelater
- Status changed from new to closed
Right now we only have the two json files (jshintrc and package.json). They have been edited 17 times in the last six months (so an average of almost 3 times per month). That is pretty low. I think if we start editing them more often or if we start adding more json files, this would make more sense.
Given that package.json is essentially a frozen file and our only JSON file, is it worth adding another dependency and an extra step to the build process?