-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a prettier setup #196
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just two small nits.
package.json
Outdated
"unexpected-dom.js", | ||
"unexpected-dom.min.js" | ||
], | ||
"files": ["lib", "unexpected-dom.js", "unexpected-dom.min.js"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add .prettierignore
and add package.json
to it? In my experience, prettier
will battle npm install --save
, changing it back and forth.
} | ||
] | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about @gustavnikolaj's isTTY
trick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will look at it. Maybe I copied an older version :-S
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it.
a2b9a1e
to
386aee9
Compare
386aee9
to
f3e6894
Compare
I'll just merge it as I have just addressed the feedback :-) |
This is a the same kind of setup we have in unexpected.