feat(eslint): Rule "class-methods-use-this"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 23:01:45 +04:00
parent d1751228f2
commit b2282f2cd1
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -17,6 +17,9 @@
"allowSingleLine": false
}
],
"class-methods-use-this": [
"warn"
],
"comma-dangle": [
"error",
"always-multiline"