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"
|
- [ ] "callback-return"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
- [ ] "capitalized-comments"
|
- [ ] "capitalized-comments"
|
||||||
- [ ] "class-methods-use-this"
|
- [X] "class-methods-use-this"
|
||||||
- [X] "comma-dangle"
|
- [X] "comma-dangle"
|
||||||
- [X] "comma-spacing"
|
- [X] "comma-spacing"
|
||||||
- [ ] "comma-style"
|
- [ ] "comma-style"
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
"allowSingleLine": false
|
"allowSingleLine": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"class-methods-use-this": [
|
||||||
|
"warn"
|
||||||
|
],
|
||||||
"comma-dangle": [
|
"comma-dangle": [
|
||||||
"error",
|
"error",
|
||||||
"always-multiline"
|
"always-multiline"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user