-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Conversation
We can use the keyword `warn` for rule configuration instead of a number.
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! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
// 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, |
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 like some text in the comment got accidentally replaced too.
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.
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, |
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.
Extra apostrophe?
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.
Oh, no. 😢
Thanks! |
Thank you! And sorry for the wrong changes. 😄 |
Fix typos in Readme changelog
We can use the keyword
warn
for rule configuration instead of a number.