Skip to content

Commit dbb2dab

Browse files
update endOfLine option of prettier in
eslintrc
1 parent edc29db commit dbb2dab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.eslintrc.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
},
2424
"plugins": ["eslint-plugin-react", "eslint-plugin-prettier"],
2525
"rules": {
26-
"prettier/prettier": "error"
26+
"prettier/prettier": [
27+
"error",
28+
{
29+
"endOfLine": "auto"
30+
}
31+
]
2732
}
2833
}

0 commit comments

Comments
 (0)