aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 8929c31..98f65b1 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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",
{