mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-11-29 18:48:14 +08:00
chore: create .gitattributes(#2288)
It is recommended by Prettier to use LF endings for all files including in Windows, and they officially recommend to set this option in .gitattributes file for consistency, and LF is the default in Prettier 2 or higher. The lack of this file bit me in another project whose build failed in Windows in GitHub Actions due to `prettier --check` failing in Windows with default LF mode. More info: https://github.com/prettier/prettier/issues/7825#issuecomment-602171740
This commit is contained in:
parent
dbe8fc5ec8
commit
4e8d6dffce
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
* text=auto eol=lf
|
Loading…
Reference in New Issue
Block a user