tools: add objectLiteralShorthandProperties to .eslintrc
authorEvan Lucas <evanlucas@me.com>
Fri, 22 May 2015 14:50:36 +0000 (09:50 -0500)
committerEvan Lucas <evanlucas@me.com>
Thu, 28 May 2015 14:35:43 +0000 (09:35 -0500)
Required to make linting pass for using object literal
shorthand properties.

PR-URL: https://github.com/nodejs/io.js/pull/1760
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
.eslintrc

index e023327..0c43234 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -9,6 +9,7 @@ ecmaFeatures:
   binaryLiterals: true
   generators: true
   forOf: true
+  objectLiteralShorthandProperties: true
 
 rules:
   # Possible Errors