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

Use keyword warn in eslint config #234

Merged
merged 3 commits into from
Jul 27, 2016
Merged

Use keyword warn in eslint config #234

merged 3 commits into from
Jul 27, 2016

Conversation

floriangosse
Copy link
Contributor

We can use the keyword warn for rule configuration instead of a number.

We can use the keyword `warn` for rule configuration instead of a number.
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@ghost
Copy link

ghost commented Jul 27, 2016

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@ghost ghost added the CLA Signed label Jul 27, 2016
// We use eslint-loader so even warnings are very visibile.
// This is why we only use "WARNING" level for potential errors,
// We use eslint-loader so even 'warn's are very visibile.
// This is why we only use "'warn'" level for potential errors,
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like some text in the comment got accidentally replaced too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, that is correct. I will push an additional commit.

@@ -10,14 +10,12 @@
// Inspired by https://github.com/airbnb/javascript but less opinionated.

// We use eslint-loader so even warnings are very visibile.
// This is why we only use "WARNING" level for potential errors,
// This is why we only use "WARNING'" level for potential errors,
Copy link
Contributor

@gaearon gaearon Jul 27, 2016

Choose a reason for hiding this comment

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

Extra apostrophe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, no. 😢

@gaearon gaearon merged commit e839dff into facebook:master Jul 27, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

Thanks!

@floriangosse
Copy link
Contributor Author

Thank you! And sorry for the wrong changes. 😄

@floriangosse floriangosse deleted the eslint-warning branch July 27, 2016 10:36
nicosommi pushed a commit to nicosommi/create-react-app that referenced this pull request Mar 17, 2018
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants