mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Enforce LF lineendings for everything
Someone on discord reported issues with UI tests. This should make sure that git never automatically converts lineendings for text files to `CRLF`. They should always be `LF` now. Probably this means that we can stop using dos2unix for #3306, too. Taken from [Rust's .gitattributes file](https://github.com/rust-lang/rust/blob/master/.gitattributes).
This commit is contained in:
parent
c669727df4
commit
3a7da8b4fa
1 changed files with 4 additions and 0 deletions
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
|
||||
|
||||
* text=auto eol=lf
|
||||
*.rs rust
|
Loading…
Reference in a new issue