Skip to content

Commit a9398f0

Browse files
author
Christopher Willis-Ford
committed
chore(windows): Add .gitattributes with *.js rule
Since `eslint` requires LF-only line endings and the default git config on Windows uses CRLF for text files, this `.gitattributes` rule is necessary for `npm test` / `eslint` to pass on most Windows systems.
1 parent dcad861 commit a9398f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.js text eol=lf

0 commit comments

Comments
 (0)