Created
March 1, 2019 19:28
-
-
Save tomanistor/47db6a3c82b4598caff1edc511e568d2 to your computer and use it in GitHub Desktop.
ESLint Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": "standard", | |
"parserOptions": { | |
"ecmaVersion": 5 | |
}, | |
"rules": { | |
"indent": ["error", 2, { | |
"ArrayExpression": 1, | |
"ObjectExpression": 1, | |
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 } | |
}], | |
"key-spacing": ["error", { "align": "value" }], | |
"no-multi-spaces": ["error", { "exceptions": { "ImportDeclaration": true, "VariableDeclarator": true } }], | |
"one-var": ["error", "consecutive"], | |
"space-before-function-paren": ["error", "never"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment