Skip to content

Commit

Permalink
tools: add objectLiteralShorthandProperties to .eslintrc
Browse files Browse the repository at this point in the history
Required to make linting pass for using object literal
shorthand properties.

PR-URL: #1760
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
  • Loading branch information
evanlucas committed May 28, 2015
1 parent ff79449 commit fbd2b59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ecmaFeatures:
binaryLiterals: true
generators: true
forOf: true
objectLiteralShorthandProperties: true

rules:
# Possible Errors
Expand Down

2 comments on commit fbd2b59

@Fishrock123
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh we should have added both here, oops, oh well.

@evanlucas
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah my bad on that. Apologies

Please sign in to comment.