Enable eslint checks for quotes and single-line loops/conditionals

pull/471/head
Gijs Kruitbosch 6 years ago
parent 7cf95bd427
commit f511d1aa2b

@ -163,12 +163,18 @@ module.exports = {
// No using with
"no-with": 2,
// No if/while/for blocks on the same line as the if/while/for statement:
"nonblock-statement-body-position": [2, "below"],
// Always require semicolon at end of statement
"semi": [2, "always"],
// Require space after keywords
"keyword-spacing": 2,
// Always use double quotes
"quotes": [2, "double", {"avoidEscape": true}],
// Require space before blocks
"space-before-blocks": 2,

Loading…
Cancel
Save