Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,21 @@
*.csv -text
*.tsv text eol=lf
*.mdx text eol=lf

# Tool configs with no extension, plus one XML that needs naming individually.
# check_character_conformity.py judges only files whose `text` attribute is
# set; anything unspecified is skipped and counted as a gap. Without these,
# the configs added in #950 join that bucket.
#
# Leading slashes anchor these to the repo root. Without one, a .gitattributes
# pattern with no slash is a BASENAME match at any depth -- the same rule as
# .gitignore -- so a bare `.pylintrc` would also claim any nested one.
#
# NOT `*.xml`: RSS.xml is committed with CRLF, and a blanket `text eol=lf`
# would rewrite its line endings as a side effect of declaring a config file.
/.bandit text eol=lf
/.pylintrc text eol=lf
/.remarkrc text eol=lf
/.shellcheckrc text eol=lf
/.stylelintrc text eol=lf
/ruleset.xml text eol=lf
Loading