diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 22:10:12 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 22:10:12 +0300 |
commit | 84ac571426f145744fb3bda6e1e2a33538e69923 (patch) | |
tree | dafa5a9c8f5e863d4a28d1addf96d1f7b343ae24 /src/rules/default.json | |
parent | 85c555f5a13eef8e52d9b196d474950c2607f0cb (diff) | |
download | eslint-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/default.json')
-rw-r--r-- | src/rules/default.json | 11 |
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" ], |