mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +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-
|
||||
- name: Run prettier
|
||||
run: |-
|
||||
npx prettier --check "./**/*.js" ui
|
||||
npm run prettier-check
|
@ -1,8 +1,4 @@
|
||||
*.min.*
|
||||
*.py
|
||||
/*
|
||||
!/ui
|
||||
/ui/easydiffusion
|
||||
/ui/hotfix
|
||||
!/ui/plugins
|
||||
!/ui/media
|
||||
*.json
|
||||
*.html
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"scripts": {
|
||||
"prettier": "prettier --write \"./**/*.js\""
|
||||
"prettier-fix": "npx prettier --write ui/**",
|
||||
"prettier-check": "npx prettier --check ui/**"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^1.19.1"
|
||||
|
Loading…
Reference in New Issue
Block a user