// Enforced coding style
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
+ "indent": ["error", 4, { "SwitchCase": 1,
+ "CallExpression": { "arguments": "first" },
+ "ArrayExpression": "first",
+ "ObjectExpression": "first",
+ "ignoreComments": true }],
+ "comma-spacing": ["error"],
+ "comma-style": ["error"],
+ "curly": ["error", "multi-line"],
+ "func-call-spacing": ["error"],
+ "func-names": ["error"],
+ "func-style": ["error", "declaration", { "allowArrowFunctions": true }],
+ "key-spacing": ["error"],
+ "keyword-spacing": ["error"],
+ "no-trailing-spaces": ["error"],
+ "semi": ["error"],
+ "space-before-blocks": ["error"],
+ "space-before-function-paren": ["error", { "anonymous": "always",
+ "named": "never",
+ "asyncArrow": "always" }],
+ "switch-colon-spacing": ["error"],
}
}