Skip to content

Unify quoting#1

Closed
clentfort wants to merge 1 commit intoprettier:masterfrom
clentfort:patch-1
Closed

Unify quoting#1
clentfort wants to merge 1 commit intoprettier:masterfrom
clentfort:patch-1

Conversation

@clentfort
Copy link
Copy Markdown

Unify the quoting in core.js

Unify the quoting in `core.js`
@lydell
Copy link
Copy Markdown
Member

lydell commented Jan 31, 2017

Thanks, but this project uses prettier for code formatting and prettier removes those quotes :) This is also why Travis failed.

@lydell lydell closed this Jan 31, 2017
@clentfort
Copy link
Copy Markdown
Author

clentfort commented Jan 31, 2017

This leaves the question why would prettier remove the quotes. 😕

These are the only unquoted because they are single words, i.e. quote, while the other must be quoted because they include dashes, i.e. wrap-iife.

@clentfort clentfort deleted the patch-1 branch January 31, 2017 13:28
@lydell
Copy link
Copy Markdown
Member

lydell commented Jan 31, 2017

Correct! Prettier only prints quotes when they are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants