JSON files? #480
-
The docs and examples provide very little info about usage with JSON files. I see how I can require certain keys, but is that all nitpick can do? Can I require that certain keys are set to specific values? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Check out the nitpick/src/nitpick/resources/any/commitlint.toml Lines 5 to 12 in d9d5055
You're right. Originally, package.json had both examples. nitpick/src/nitpick/resources/javascript/package-json.toml Lines 5 to 6 in d9d5055 The unwritten plan (no ticket yet) is:
But that is a bit of work, and I don't know what is the demand for it now. |
Beta Was this translation helpful? Give feedback.
Check out the
contains_json
example here for commitlint:nitpick/src/nitpick/resources/any/commitlint.toml
Lines 5 to 12 in d9d5055
You're right.
I will expand the docs, thanks for the comment.
Originally, package.json had both examples.
But now it only has
contains_keys
, after I split configs into multiple files:nitpi…