summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:52:21 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:52:21 +0300
commit658ca3ebba139f1901df3299aa0d6d7102672932 (patch)
tree986fe45a9a1c87fd1e0465a182f46346ad28984d /src
parenta0d10caa644890ff8c765b8e99e4d3e525f2ea19 (diff)
downloadeslint-config-658ca3ebba139f1901df3299aa0d6d7102672932.tar.xz
eslint-config-658ca3ebba139f1901df3299aa0d6d7102672932.zip
feat(eslint): Rule "curly"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/default.json4
1 files changed, 4 insertions, 0 deletions
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",
{