diff --git a/ROADMAP.md b/ROADMAP.md index e0102ae..214dcda 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -30,7 +30,7 @@ - [ ] "default-case-last" - [ ] "default-param-last" - [ ] "dot-location" -- [ ] "dot-notation" +- [X] "dot-notation" - [X] "eol-last" - [X] "eqeqeq" - [ ] "for-direction" 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"