You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what is the best way to validate json file on pre-commit
for example I want to validate
{
"prop1" : "value1", ,
"prop1" : "value1",
}
this kind of incorrect json
can i get the file name/type/content in bash as parameter ? it there out of the box way to do it without custom bash ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
what is the best way to validate json file on pre-commit
for example I want to validate
{
"prop1" : "value1", ,
"prop1" : "value1",
}
this kind of incorrect json
can i get the file name/type/content in bash as parameter ? it there out of the box way to do it without custom bash ?
Beta Was this translation helpful? Give feedback.
All reactions