mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Update prettier target files, use .prettierignore
This commit is contained in:
parent
9d9f1d02de
commit
419d7f6ab4
2 changed files with 8 additions and 2 deletions
6
.prettierignore
Normal file
6
.prettierignore
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
.github
|
||||||
|
.idea
|
||||||
|
dist
|
||||||
|
node_modules
|
||||||
|
assets
|
||||||
|
debug
|
|
@ -4,9 +4,9 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write \"./{backend,dashboard}/{,!(node_modules)/**/}/*.ts\"",
|
"format": "prettier --write './**/*.{css,html,js,json,ts,tsx}'",
|
||||||
"lint": "tslint \"./{backend,dashboard}/{,!(node_modules)/**/}/*.ts\"",
|
"lint": "tslint \"./{backend,dashboard}/{,!(node_modules)/**/}/*.ts\"",
|
||||||
"codestyle-check": "prettier --check \"./{backend,dashboard}/{,!(node_modules)/**/}/*.ts\""
|
"codestyle-check": "prettier --check './**/*.{css,html,js,json,ts,tsx}'"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^3.0.9",
|
"husky": "^3.0.9",
|
||||||
|
|
Loading…
Add table
Reference in a new issue