Skip to content

Commit

Permalink
fix(prettier): Add default value for endOfLine option
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Jun 18, 2020
1 parent 4bd1ad8 commit 2ccf4d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
coverage/*
coverage/
packages/*/templates/
site/build/
5 changes: 4 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
packages/mrm-task-jest/templates/test.js
packages/mrm-task-readme/templates/Readme.md
CHANGELOG.md
site/build/
site/docs/
site/.docusaurus/
CHANGELOG.md
1 change: 1 addition & 0 deletions packages/mrm-task-prettier/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const defaultPrettierOptions = {
bracketSpacing: true,
jsxBracketSameLine: false,
arrowParens: 'always',
endOfLine: 'lf',
};

function getPattern(pkg) {
Expand Down

0 comments on commit 2ccf4d1

Please sign in to comment.