File: .gitattributes

package info (click to toggle)
checkstyle 8.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 32,964 kB
  • sloc: java: 234,352; xml: 75,743; javascript: 258; sh: 115; sql: 6; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# All files default to text with LF eol
* eol=lf

# Windows files always have CRLF eol
*.bat eol=crlf

# Binary files need to be listed explicitly as first rule makes all files text files
*.gif binary
*.ico binary
*.jpeg binary
*.jpg binary
*.png binary

# Test resources that need specific eol
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/newlineatendoffile/InputNewlineAtEndOfFileCrlf.java eol=crlf
/src/test/resources/com/puppycrawl/tools/checkstyle/checks/newlineatendoffile/InputNewlineAtEndOfFileCr.java -text