From 7c7db260279adb8c4692171bac7b37854e3b18a1 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 29 Jan 2018 20:09:41 +0100 Subject: [PATCH] chore(lint): add function expression indent rule --- .eslintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 3c0c00b2..c19a0bda 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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,