mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-24 17:24:29 +01:00
Adjust prettier config
This commit is contained in:
parent
03fedfd0d5
commit
2e362d57eb
2
.github/workflows/prettier.yml
vendored
2
.github/workflows/prettier.yml
vendored
@ -19,4 +19,4 @@ jobs:
|
|||||||
${{ runner.os }}-npm-
|
${{ runner.os }}-npm-
|
||||||
- name: Run prettier
|
- name: Run prettier
|
||||||
run: |-
|
run: |-
|
||||||
npx prettier --check "./**/*.js" ui
|
npm run prettier-check
|
@ -1,8 +1,4 @@
|
|||||||
*.min.*
|
*.min.*
|
||||||
*.py
|
*.py
|
||||||
/*
|
*.json
|
||||||
!/ui
|
*.html
|
||||||
/ui/easydiffusion
|
|
||||||
/ui/hotfix
|
|
||||||
!/ui/plugins
|
|
||||||
!/ui/media
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prettier": "prettier --write \"./**/*.js\""
|
"prettier-fix": "npx prettier --write ui/**",
|
||||||
|
"prettier-check": "npx prettier --check ui/**"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^1.19.1"
|
"prettier": "^1.19.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user