[eslint config] fix b1500397e1

This commit is contained in:
Jordan Harband
2015-12-15 01:19:32 -08:00
parent 4ab41ede1b
commit 0fc31eaf1c

View File

@@ -41,7 +41,7 @@ module.exports = {
'no-var': 2,
// require method and property shorthand syntax for object literals
// https://github.com/eslint/eslint/blob/master/docs/rules/object-shorthand.md
'object-shorthand': [2, "always", { "ignoreConstructors": true }],
'object-shorthand': [2, 'always'],
// suggest using of const declaration for variables that are never modified after declared
'prefer-const': 2,
// suggest using the spread operator instead of .apply()