We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab41ed commit 0fc31eaCopy full SHA for 0fc31ea
1 file changed
packages/eslint-config-airbnb/rules/es6.js
@@ -41,7 +41,7 @@ module.exports = {
41
'no-var': 2,
42
// require method and property shorthand syntax for object literals
43
// https://github.com/eslint/eslint/blob/master/docs/rules/object-shorthand.md
44
- 'object-shorthand': [2, "always", { "ignoreConstructors": true }],
+ 'object-shorthand': [2, 'always'],
45
// suggest using of const declaration for variables that are never modified after declared
46
'prefer-const': 2,
47
// suggest using the spread operator instead of .apply()
0 commit comments