Skip to content
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

Configured prettier #308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Configured prettier #308

wants to merge 1 commit into from

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Aug 2, 2017

Ive noticed in the other PR that there was some mismatch between PR code style and the desired style of the repo. This was also a slight problem for me when making changes as there were no linting rules around to help me and I had double check semicolon, quotes style etc - especially as I couldnt focus at one moment and was coming back to work several times when only I had some time.

This should help the situation - I've gone with the pure prettier as its super easy to add for the project and doesnt require too much configuration with its 'take it or leave it' approach.

Note: I would advice to merge this locally and run prettier on the whole project once - both to see the difference and judge if you like it or not and to commit the changes if liked.

@@ -23,9 +23,10 @@
"url": "git://github.com/facebook/regenerator.git"
},
"main": "main.js",
"bin": "bin/regenerator",
"bin": "bin/regenerator.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ive changed it so this file could also be 'caught' by the lint-staged's *.js rule

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

Successfully merging this pull request may close these issues.

None yet

2 participants