aboutsummaryrefslogtreecommitdiff
path: root/src/rules/default.json
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:24:26 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:24:26 +0300
commit5bd92b74f29032bedfc350a17f663f220d45461a (patch)
treec0085065b85ca44e08d22bc506796f2a292179ad /src/rules/default.json
parent0db2687006c75d9665b6706572e97523b073b4f8 (diff)
downloadeslint-config-5bd92b74f29032bedfc350a17f663f220d45461a.tar.xz
eslint-config-5bd92b74f29032bedfc350a17f663f220d45461a.zip
feat(eslint): Rule "dot-notation"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules/default.json')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 1f2f54f..d4b96c7 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -48,6 +48,12 @@
"before": false
}
],
+ "dot-notation": [
+ "error",
+ {
+ "allowKeywords": true
+ }
+ ],
"eol-last": [
"error",
"always"