mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Frontend: Restrict Prettier to CSS and JSON via .prettierignore
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
39216b2bd6
commit
11f30f7edc
2 changed files with 21 additions and 1 deletions
|
|
@ -12,3 +12,13 @@ tests/upload-files/
|
|||
*.html
|
||||
*.md
|
||||
.*
|
||||
|
||||
# JS / Vue / configs — ESLint owns formatting (see frontend/eslint.config.mjs).
|
||||
# Prettier on these collapses intentional multi-line method chains and
|
||||
# predicate lists; we deliberately moved them off Prettier's autofix path.
|
||||
# Vue templates are formatted by eslint-plugin-vue's flat/recommended preset
|
||||
# (vue/html-indent, vue/html-quotes, vue/max-attributes-per-line, etc.).
|
||||
**/*.js
|
||||
**/*.mjs
|
||||
**/*.cjs
|
||||
**/*.vue
|
||||
|
|
|
|||
|
|
@ -8,4 +8,14 @@ tests/upload-files/
|
|||
.var
|
||||
*.html
|
||||
*.md
|
||||
.*
|
||||
.*
|
||||
|
||||
# JS / Vue / configs — ESLint owns formatting (see eslint.config.mjs).
|
||||
# Prettier on these collapses intentional multi-line method chains and
|
||||
# predicate lists; we deliberately moved them off Prettier's autofix path.
|
||||
# Vue templates are formatted by eslint-plugin-vue's flat/recommended preset
|
||||
# (vue/html-indent, vue/html-quotes, vue/max-attributes-per-line, etc.).
|
||||
**/*.js
|
||||
**/*.mjs
|
||||
**/*.cjs
|
||||
**/*.vue
|
||||
Loading…
Add table
Add a link
Reference in a new issue