Skip to content

Commit

Permalink
editorconfig: don't remove trailing whitespace in XML files (#5920)
Browse files Browse the repository at this point in the history
GAPDoc XML may contain .tst data with relevant trailing whitespace,
so don't touch those.
  • Loading branch information
fingolfin authored Jan 28, 2025
1 parent c026978 commit a16feca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ indent_style = space
indent_size = 4
charset = utf-8

#
# trailing whitespace are relevant in .tst files
[*.tst]
trim_trailing_whitespace = false

# our GAPDoc XML files may contain tests for which trailing whitespace are relevant
[*.xml]
trim_trailing_whitespace = false

# In Makefile one must use tab indentation
[Makefile*]
indent_style = tab

0 comments on commit a16feca

Please sign in to comment.