diff --git a/.eslintrc.js b/.eslintrc.js index 671a991..7824556 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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,