Simon Egersand
2017-07-29 5015acb072fbd7a786e46e00192db416ebf617eb
Enforce tab indentation

It's very common that the indentation is incorrect when someone
publishes a PR, because we're all use to different things and our
editors doesn't always tell us the truth (atleast not IntelliJ). So by
having this rule us maintainers does not need to update the code after a
PR just to fix the indentation - it's already been forced upon the
creator of the PR. This saves us a lot of time.
1 files modified
4 ■■■ changed files
.eslintrc.js 4 ●●● patch | view | raw | blame | history
.eslintrc.js
@@ -35,6 +35,8 @@
        // Enforce consistent spacing inside parentheses
        // "space-in-parens": [2, "always"],
        // Enforce the consistent use of either backticks, double, or single quotes
        "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals": true }]
        "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
        // Enforce using tabs for indentation
        "indent": [2, "tab", { "SwitchCase": 1 }]
    }
};