Skip to content

Commit

Permalink
chore: add json-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Oct 9, 2023
1 parent c9171d3 commit 5498b41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"json-lint": "^0.1.0",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
Expand All @@ -69,6 +70,7 @@
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,ts,tsx,css}": "prettier --write"
"*.{js,ts,tsx,css}": "prettier --write",
"*.json": "json-lint --config-set indent=4"
}
}

0 comments on commit 5498b41

Please sign in to comment.