Skip to content

Commit 517b892

Browse files
committed
tools: enforce linting for unix-style line endings
PR-URL: #6685 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
1 parent b3bc362 commit 517b892

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ rules:
6060
indent: [2, 2, {SwitchCase: 1}]
6161
key-spacing: [2, {mode: "minimum"}]
6262
keyword-spacing: 2
63+
linebreak-style: [2, "unix"]
6364
max-len: [2, 80, 2]
6465
new-parens: 2
6566
no-mixed-spaces-and-tabs: 2

0 commit comments

Comments
 (0)