Skip to content

Commit

Permalink
fix: eslint error "Delete CR on Windows
Browse files Browse the repository at this point in the history
add "endOfLine auto" rule to get rid of "Delete `CR` eslint(prettier/prettier)" errors
  • Loading branch information
ez4gis committed Jan 10, 2021
1 parent edcf512 commit 7cfad0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off",
"prettier/prettier": "error",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"camelcase": 0,
"default-case": 0,
"curly": ["error", "all"],
Expand Down

0 comments on commit 7cfad0f

Please sign in to comment.