summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-09-06 16:17:43 +0200
committerPierre Ossman <ossman@cendio.se>2018-09-06 16:37:38 +0200
commit7b536961b2219f33423a7c0709e06779def1c887 (patch)
treef3ecc45a9491362a9a052b4f0f7f47d219dc3b94 /.eslintrc
parent1404984668522f8aab66cf195aa5bd29f02f961c (diff)
downloadnovnc-7b536961b2219f33423a7c0709e06779def1c887.tar.gz
Enforce indentation
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index f1e3073..a3990b6 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -24,5 +24,10 @@
// Enforced coding style
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
+ "indent": ["error", 4, { "SwitchCase": 1,
+ "CallExpression": { "arguments": "first" },
+ "ArrayExpression": "first",
+ "ObjectExpression": "first",
+ "ignoreComments": true }],
}
}