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

feat(stylistic): allow in for loop afterthought #6

Merged
merged 3 commits into from
Mar 29, 2017

Conversation

joshwiens
Copy link
Member

Allows unary operators in the final expression of a for loop

Allows unary operators in the final expression of a for loop
@joshwiens joshwiens requested review from bebraw and jhnns March 28, 2017 12:14
@@ -272,7 +272,7 @@ module.exports = {

// disallow Object constructors
// http://eslint.org/docs/rules/no-new-object
'no-new-object': 'error',
'no-new-object': ["error", { "allowForLoopAfterthoughts": true }],
Copy link
Member

Choose a reason for hiding this comment

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

Looks like we don’t lint eslint-config-webpack with eslint-config-webpack — quotes should be single ;-)

@joshwiens joshwiens merged commit efe3806 into master Mar 29, 2017
@joshwiens joshwiens deleted the d3viant0ne-ForLoopAfterthoughts branch March 29, 2017 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants