|
@@ -189,7 +189,7 @@ module.exports = {
|
|
"no-ternary": 0, // disallow the use of ternary operators (off by default)
|
|
"no-ternary": 0, // disallow the use of ternary operators (off by default)
|
|
"no-trailing-spaces": 1, // disallow trailing whitespace at the end of lines
|
|
"no-trailing-spaces": 1, // disallow trailing whitespace at the end of lines
|
|
"no-underscore-dangle": 1, // disallow dangling underscores in identifiers
|
|
"no-underscore-dangle": 1, // disallow dangling underscores in identifiers
|
|
- "object-curly-spacing": [2, "never"],
|
|
|
|
|
|
+ "object-curly-spacing": [2, "always"],
|
|
"one-var": [2, "never"], // allow just one var statement per function (off by default)
|
|
"one-var": [2, "never"], // allow just one var statement per function (off by default)
|
|
"operator-assignment": [1, "never"], // require assignment operator shorthand where possible or prohibit it entirely (off by default)
|
|
"operator-assignment": [1, "never"], // require assignment operator shorthand where possible or prohibit it entirely (off by default)
|
|
"padded-blocks": [1, "never"], // enforce padding within blocks (off by default)
|
|
"padded-blocks": [1, "never"], // enforce padding within blocks (off by default)
|