feat(eslint): Rule "camelcase"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
85c555f5a1
commit
84ac571426
@ -14,7 +14,7 @@
|
||||
- [ ] "block-spacing"
|
||||
- [X] "brace-style"
|
||||
- [ ] "callback-return"
|
||||
- [ ] "camelcase"
|
||||
- [X] "camelcase"
|
||||
- [ ] "capitalized-comments"
|
||||
- [X] "class-methods-use-this"
|
||||
- [X] "comma-dangle"
|
||||
|
@ -17,6 +17,17 @@
|
||||
"allowSingleLine": false
|
||||
}
|
||||
],
|
||||
"camelcase": [
|
||||
"error",
|
||||
{
|
||||
"allow": [
|
||||
"^UNSAFE_"
|
||||
],
|
||||
"ignoreDestructuring": true,
|
||||
"ignoreImports": false,
|
||||
"properties": "always"
|
||||
}
|
||||
],
|
||||
"class-methods-use-this": [
|
||||
"warn"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user