diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -16,7 +16,7 @@ - [ ] "callback-return" - [ ] "camelcase" - [ ] "capitalized-comments" -- [ ] "class-methods-use-this" +- [X] "class-methods-use-this" - [X] "comma-dangle" - [X] "comma-spacing" - [ ] "comma-style" diff --git a/src/rules/default.json b/src/rules/default.json index 52611ee..b8c2521 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -17,6 +17,9 @@ "allowSingleLine": false } ], + "class-methods-use-this": [ + "warn" + ], "comma-dangle": [ "error", "always-multiline" |