feat(eslint): Rule "no-underscore-dangle"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:47:32 +04:00
parent 228ce628a4
commit 877c5f7ad1
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 10 additions and 1 deletions

View File

@ -196,7 +196,7 @@
- [ ] "no-undef"
- [ ] "no-undef-init"
- [ ] "no-undefined"
- [ ] "no-underscore-dangle"
- [X] "no-underscore-dangle"
- [ ] "no-unexpected-multiline"
- [ ] "no-unmodified-loop-condition"
- [ ] "no-unneeded-ternary"

View File

@ -149,6 +149,15 @@
"no-ternary": [
"off"
],
"no-underscore-dangle": [
"error",
{
"allowAfterSuper": false,
"allowAfterThis": true,
"allowAfterThisConstructor": false,
"enforceInMethodNames": false
}
],
"no-unused-vars": [
"error",
{