aboutsummaryrefslogtreecommitdiff
path: root/src/rules/eslint.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:40:40 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:40:40 +0300
commit3ed46834aa96d614526e69d5441550c21d149ded (patch)
treee4dda357c0cd0790deff2ee64e941e3e7967077b /src/rules/eslint.json
parent799b6c9f21d1eab63d2ded3f7601695ce63e82ad (diff)
downloadeslint-config-3ed46834aa96d614526e69d5441550c21d149ded.tar.xz
eslint-config-3ed46834aa96d614526e69d5441550c21d149ded.zip
feat(eslint): Rule "arrow-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/eslint.json')
-rw-r--r--src/rules/eslint.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 7793435..cb5c18b 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -3,6 +3,13 @@
"error",
"always"
],
+ "arrow-spacing": [
+ "error",
+ {
+ "after": true,
+ "before": true
+ }
+ ],
"brace-style": [
"error",
"1tbs",