Skip to content

Commit

Permalink
sample files: ignore whitespace between tags
Browse files Browse the repository at this point in the history
In order to let prettier indent xml
correctly, it has to consider whitespace between tag
as non significant. It should be
a safe default for odoo-related xml files.

fixes OCA#632
  • Loading branch information
sbidoul committed Mar 1, 2020
1 parent 6315cd7 commit fbb854d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sample_files/pre-commit-13.0/.prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ printWidth: 88
proseWrap: always
semi: true
trailingComma: "es5"
xmlWhitespaceSensitivity: "ignore"

0 comments on commit fbb854d

Please sign in to comment.