Changed lint-staged.config.js for json files

develop
Jason Zhu 2023-03-26 18:39:34 +11:00
parent 00556e35d9
commit 4db65c6375
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
module.exports = {
'*.{ts,tsx,js,jsx,json}': [
'*.json': ['npm run format:check'],
'*.{ts,tsx,js,jsx}': [
'npm run lint',
"bash -c 'npm run types:check'",
'npm run format:check',