diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:52:21 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:52:21 +0300 |
commit | 658ca3ebba139f1901df3299aa0d6d7102672932 (patch) | |
tree | 986fe45a9a1c87fd1e0465a182f46346ad28984d | |
parent | a0d10caa644890ff8c765b8e99e4d3e525f2ea19 (diff) | |
download | eslint-config-658ca3ebba139f1901df3299aa0d6d7102672932.tar.xz eslint-config-658ca3ebba139f1901df3299aa0d6d7102672932.zip |
feat(eslint): Rule "curly"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -25,7 +25,7 @@ - [ ] "consistent-return" - [ ] "consistent-this" - [ ] "constructor-super" -- [ ] "curly" +- [X] "curly" - [ ] "default-case" - [ ] "default-case-last" - [ ] "default-param-last" diff --git a/src/rules/default.json b/src/rules/default.json index b5f90ed..f99eadf 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -55,6 +55,10 @@ "exceptions": {} } ], + "curly": [ + "error", + "all" + ], "dot-notation": [ "error", { |