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

Eslint #2

Merged
merged 5 commits into from
Apr 6, 2017
Merged

Eslint #2

merged 5 commits into from
Apr 6, 2017

Conversation

makenosound
Copy link
Member

From the README notes:

JS code in your source paths will be linted using eslint. We use the base config from create-react-app, which is released as a separate package called eslint-config-react-app, and then add some small adjustments in each environment:

  • In development, we include prettier to enforce a code style across our projects. It’s recommended you add integration with your editor in some way so that you don’t get annoyed by all the errors. Ideally this formatting happens for us as part of the build, but this feature is disabled at the moment due to an issue with Visual Studio Code.

  • In production, we do not include prettier so it will not break your builds. We do however add a no-debugger rule to ensure that you can’t push production code that includes debugging lines.

@makenosound makenosound merged commit 4289d0a into master Apr 6, 2017
@makenosound makenosound deleted the eslint branch April 6, 2017 01:39
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.

1 participant