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

Docs: update rule configuration values in examples #11323

Merged
merged 1 commit into from Feb 1, 2019

Conversation

kaicataldo
Copy link
Member

What is the purpose of this pull request? (put an "X" next to item)

[X] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)
This updates a few examples to use the newer string value for configuring the severity of rule warnings. There are more instances of using the older numerical value, but I left these because they're intentionally being used to illustrate that those values are valid and still work.

Is there anything you'd like reviewers to focus on?
Nothing in particular!

@eslint-deprecated eslint-deprecated bot added the triage An ESLint team member will look at this issue soon label Jan 28, 2019
@kaicataldo kaicataldo added documentation Relates to ESLint's documentation and removed triage An ESLint team member will look at this issue soon labels Jan 28, 2019
},

"overrides": [
{
"files": [ "bin/*.js", "lib/*.js" ],
Copy link
Member Author

Choose a reason for hiding this comment

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

This is just for consistency with the rest of the example code in this file.

@ilyavolodin ilyavolodin merged commit fa2f370 into master Feb 1, 2019
@ilyavolodin ilyavolodin deleted the configuring-update branch February 1, 2019 17:13
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Aug 1, 2019
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants