add command to format all sources (except .hbs)
This commit is contained in:
parent
2e7197a0a2
commit
9ed1b7ec84
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,8 @@
|
|||
"clean": "gulp clean && gulp link --clean",
|
||||
"update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes",
|
||||
"lint": "eslint 'src/**/*.ts' --cache",
|
||||
"lint:fix": "eslint 'src/**/*.ts' --cache --fix"
|
||||
"lint:fix": "eslint 'src/**/*.ts' --cache --fix",
|
||||
"format": "prettier --write 'src/**/*.(ts|json|scss)'"
|
||||
},
|
||||
"author": "",
|
||||
"license": "",
|
||||
|
@ -45,7 +46,6 @@
|
|||
},
|
||||
"lint-staged": {
|
||||
"*.ts": "eslint --cache --fix",
|
||||
"*.json": "prettier --write",
|
||||
"*.scss": "prettier --write"
|
||||
"*.(json|scss)": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue