Skip to content

Commit

Permalink
fix: prettier config line endings (#101)
Browse files Browse the repository at this point in the history
* Add endOfLine Prettier config

* Point project prettierrc to exposed config
  • Loading branch information
MichaelDeBoey authored and Kent C. Dodds committed Nov 26, 2019
1 parent 66ac752 commit d3ec74a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./src/config/prettierrc')
1 change: 1 addition & 0 deletions src/config/prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
arrowParens: 'avoid',
bracketSpacing: false,
endOfLine: 'lf',
htmlWhitespaceSensitivity: 'css',
insertPragma: false,
jsxBracketSameLine: false,
Expand Down

0 comments on commit d3ec74a

Please sign in to comment.