Skip to content

Use keyword warn in eslint config - #234

Merged
gaearon merged 3 commits into
react:masterfrom
floriangosse:eslint-warning
Jul 27, 2016
Merged

Use keyword warn in eslint config#234
gaearon merged 3 commits into
react:masterfrom
floriangosse:eslint-warning

Conversation

@floriangosse

Copy link
Copy Markdown
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
Copy Markdown

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 cla@fb.com. Thanks!

@ghost

Copy link
Copy Markdown

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

@ghostghost added the CLA Signed label Jul 27, 2016
Comment threadconfig/eslint.js Outdated
// 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
Copy Markdown
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
Copy Markdown
ContributorAuthor

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.

Comment threadconfig/eslint.js Outdated

// 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,

@gaearongaearonJul 27, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Extra apostrophe?

Copy link
Copy Markdown
ContributorAuthor

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 react:masterJul 27, 2016
@gaearon

Copy link
Copy Markdown
Contributor

Thanks!

@floriangosse

Copy link
Copy Markdown
ContributorAuthor

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
@locklockBot locked and limited conversation to collaborators Jan 22, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@floriangosse@facebook-github-bot@gaearon@fson