diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 11 |
2 files changed, 12 insertions, 1 deletions
@@ -14,7 +14,7 @@ - [ ] "block-spacing" - [X] "brace-style" - [ ] "callback-return" -- [ ] "camelcase" +- [X] "camelcase" - [ ] "capitalized-comments" - [X] "class-methods-use-this" - [X] "comma-dangle" 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" ], |