Skip to content

Commit 4dd3e18

Browse files
committed
Enforce LF in the repo.
On Windows `autocrlf: true` is the default which makes the linter sad.
1 parent b8356ed commit 4dd3e18

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enforce Unix newlines
2+
* text=auto eol=lf

.github/workflows/test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ jobs:
1212
node: [14, 12]
1313

1414
steps:
15-
- name: Set git to use LF
16-
if: ${{ matrix.os == 'windows-latest' }}
17-
run: |
18-
git config --global core.autocrlf false
19-
git config --global core.eol lf
2015
- uses: actions/[email protected]
2116
- name: Use Node.js ${{ matrix.node }}
2217
uses: actions/[email protected]

0 commit comments

Comments
 (0)