chore(lint): add function expression indent rule

This commit is contained in:
Nico Rehwaldt 2018-01-29 20:09:41 +01:00
parent f1daf4841f
commit 7c7db26027
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
"rules": {
"indent": [ 2, 2, {
"VariableDeclarator": { "var": 2, "let": 2, "const": 3 },
"FunctionDeclaration": { "body": 1, "parameters": 2 }
"FunctionDeclaration": { "body": 1, "parameters": 2 },
"FunctionExpression": { "body": 1, "parameters": 2 }
} ],
"keyword-spacing": [ 2 ],
"mocha/no-exclusive-tests": 2,