Skip to content

Commit

Permalink
Undo line ending changes in prettier 2.0
Browse files Browse the repository at this point in the history
It causes too much havoc for windows users with git auto line ending handling.

https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes
  • Loading branch information
chadly committed Apr 3, 2020
1 parent 0eef382 commit 5969086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@runly/eslint-config",
"description": "Shareable ESLint configuration used in Runly client applications",
"main": "index.js",
"version": "1.0.0",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "https://github.com/runlyio/eslint-config.git"
Expand Down
2 changes: 1 addition & 1 deletion style.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {

// No more bikeshedding on style; just use prettier
// https://github.com/not-an-aardvark/eslint-plugin-prettier
"prettier/prettier": ["error", { useTabs: true, trailingComma: "none", arrowParens: "avoid" }],
"prettier/prettier": ["error", { useTabs: true, trailingComma: "none", arrowParens: "avoid", endOfLine: "auto" }],

// enforce lowercase kebab case for filenames
// we have had issues in the past with case sensitivity & module resolution
Expand Down

0 comments on commit 5969086

Please sign in to comment.