feat(eslint): Rule "camelcase"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 23:10:12 +04:00
parent 85c555f5a1
commit 84ac571426
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 12 additions and 1 deletions

View File

@ -14,7 +14,7 @@
- [ ] "block-spacing"
- [X] "brace-style"
- [ ] "callback-return"
- [ ] "camelcase"
- [X] "camelcase"
- [ ] "capitalized-comments"
- [X] "class-methods-use-this"
- [X] "comma-dangle"

View File

@ -17,6 +17,17 @@
"allowSingleLine": false
}
],
"camelcase": [
"error",
{
"allow": [
"^UNSAFE_"
],
"ignoreDestructuring": true,
"ignoreImports": false,
"properties": "always"
}
],
"class-methods-use-this": [
"warn"
],