summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index ea4d655..b85e51c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -13,5 +13,10 @@
"no-var": "error",
"no-useless-constructor": "error",
"object-shorthand": ["error", "methods", { "avoidQuotes": true }],
+ "prefer-arrow-callback": "error",
+ "arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": false } ],
+ "arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
+ "arrow-spacing": ["error"],
+ "no-confusing-arrow": ["error", { "allowParens": true }],
}
}