feat(eslint): Rule "class-methods-use-this"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
d1751228f2
commit
b2282f2cd1
@ -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"
|
||||
|
@ -17,6 +17,9 @@
|
||||
"allowSingleLine": false
|
||||
}
|
||||
],
|
||||
"class-methods-use-this": [
|
||||
"warn"
|
||||
],
|
||||
"comma-dangle": [
|
||||
"error",
|
||||
"always-multiline"
|
||||
|
Loading…
x
Reference in New Issue
Block a user