aboutsummaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 22:10:12 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 22:10:12 +0300
commit84ac571426f145744fb3bda6e1e2a33538e69923 (patch)
treedafa5a9c8f5e863d4a28d1addf96d1f7b343ae24 /src/rules
parent85c555f5a13eef8e52d9b196d474950c2607f0cb (diff)
downloadeslint-config-84ac571426f145744fb3bda6e1e2a33538e69923.tar.xz
eslint-config-84ac571426f145744fb3bda6e1e2a33538e69923.zip
feat(eslint): Rule "camelcase"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 8fdf66e..71f73a1 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -17,6 +17,17 @@
"allowSingleLine": false
}
],
+ "camelcase": [
+ "error",
+ {
+ "allow": [
+ "^UNSAFE_"
+ ],
+ "ignoreDestructuring": true,
+ "ignoreImports": false,
+ "properties": "always"
+ }
+ ],
"class-methods-use-this": [
"warn"
],