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

Update: add outerIIFEBody: "off" to indent rule (fixes #11377) #12706

Merged
merged 2 commits into from Jan 6, 2020

Conversation

kaicataldo
Copy link
Member

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

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

fixes #11377

What changes did you make? (Give an overview)
This PR adds the ability to set the outerIIFEBody to "off". This was a lot easier than I expected - the logic already allows for this, so I just needed to add the option to the JSON schema.

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 Dec 23, 2019
@kaicataldo kaicataldo added accepted There is consensus among the team that this change meets the criteria for inclusion enhancement This change enhances an existing feature of ESLint indent Relates to the `indent` rule and removed triage An ESLint team member will look at this issue soon labels Dec 23, 2019
@kaicataldo kaicataldo force-pushed the outeriifebody-off branch 2 times, most recently from e507312 to 09762eb Compare December 23, 2019 23:27
Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

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

Just left one question, otherwise looks good to me.

docs/rules/indent.md Outdated Show resolved Hide resolved
@kaicataldo kaicataldo merged commit 313f70a into master Jan 6, 2020
@kaicataldo kaicataldo deleted the outeriifebody-off branch January 6, 2020 17:32
@papb
Copy link

papb commented Jan 6, 2020

Thank you!!

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Jul 6, 2020
@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 Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion enhancement This change enhances an existing feature of ESLint indent Relates to the `indent` rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule change request: indent: allow "off" for "outerIIFEBody"
4 participants