From a17db4f45c322581f5da74c9f556aceb49db3983 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Mon, 19 Jun 2017 11:56:06 +0200 Subject: [PATCH] Configure indent rule more explicitly --- package.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f9d9be9f64..807dbf73b6 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,23 @@ "openlayers-internal/one-provide": 2, "openlayers-internal/requires-first": 2, "openlayers-internal/valid-provide": 2, - "openlayers-internal/valid-requires": 2 + "openlayers-internal/valid-requires": 2, + "indent": [2, 2, { + "VariableDeclarator": 2, + "SwitchCase": 1, + "MemberExpression": 2, + "FunctionDeclaration": { + "parameters": 2, + "body": 1 + }, + "FunctionExpression": { + "parameters": 2, + "body": 1 + }, + "CallExpression": { + "arguments": 2 + } + }] } }, "ext": [