allign prettierrc with config in frontend

This commit is contained in:
mauwii 2023-02-18 14:43:41 +01:00
parent bb1769abab
commit bfe64b1510
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB
2 changed files with 23 additions and 5 deletions

14
.prettierignore Normal file
View File

@ -0,0 +1,14 @@
invokeai/frontend/.husky
invokeai/frontend/patches
# Ignore artifacts:
build
coverage
static
invokeai/frontend/dist
# Ignore all HTML files:
*.html
# Ignore deprecated docs
docs/installation/deprecated_documentation

View File

@ -1,9 +1,10 @@
endOfLine: lf
tabWidth: 2
useTabs: false
singleQuote: true
quoteProps: as-needed
embeddedLanguageFormatting: auto
endOfLine: lf
singleQuote: true
semi: true
tabWidth: 2
trailingComma: es5
useTabs: false
overrides:
- files: '*.md'
options:
@ -11,3 +12,6 @@ overrides:
printWidth: 80
parser: markdown
cursorOffset: -1
- files: 'invokeai/frontend/public/locales/*.json'
options:
tabWidth: 4