summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-03-26 19:04:51 +0300
committerValentin Popov <info@valentineus.link>2020-03-26 19:04:51 +0300
commita40468c437f05bb9d974250de2d433611037d588 (patch)
tree732f3cdf0636878d1dcc7aee6e2d15963f8db3e0 /src
parentd604a6f373397e4dae70cb38e1183cad6f90a162 (diff)
downloadeslint-config-a40468c437f05bb9d974250de2d433611037d588.tar.xz
eslint-config-a40468c437f05bb9d974250de2d433611037d588.zip
Updated Unicorn to v18.0.0
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/unicorn/default.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rules/unicorn/default.json b/src/rules/unicorn/default.json
index 7a7dc1b..bb3abab 100644
--- a/src/rules/unicorn/default.json
+++ b/src/rules/unicorn/default.json
@@ -11,6 +11,12 @@
"unicorn/no-console-spaces": [
"error"
],
+ "unicorn/prefer-number-properties": [
+ "error"
+ ],
+ "unicorn/prefer-set-has": [
+ "error"
+ ],
"unicorn/prevent-abbreviations": [
"error",
{
@@ -25,5 +31,8 @@
"replacements": {},
"whitelist": {}
}
+ ],
+ "unicorn/string-content": [
+ "error"
]
}