Enforce consistent indentation in javascript code
This commit is contained in:
parent
807750023a
commit
c4c0e8105a
20 changed files with 160 additions and 153 deletions
|
@ -33,6 +33,13 @@
|
|||
"eol-last": "error",
|
||||
"eqeqeq": ["error", "smart"],
|
||||
"func-call-spacing": "error",
|
||||
"indent": ["error", 2, {
|
||||
"SwitchCase": 1,
|
||||
"VariableDeclarator": "first",
|
||||
"FunctionDeclaration": { "parameters": "first" },
|
||||
"FunctionExpression": { "parameters": "first" },
|
||||
"CallExpression": { "arguments": "first" }
|
||||
}],
|
||||
"key-spacing": "error",
|
||||
"keyword-spacing": "error",
|
||||
"no-alert": "warn",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue