From 84ac571426f145744fb3bda6e1e2a33538e69923 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:10:12 +0400 Subject: feat(eslint): Rule "camelcase" Signed-off-by: Valentin Popov --- src/rules/default.json | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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" ], -- cgit v1.2.3