feat(eslint): Rule "dot-notation"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:24:26 +04:00
parent 0db2687006
commit 5bd92b74f2
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,7 @@
- [ ] "default-case-last"
- [ ] "default-param-last"
- [ ] "dot-location"
- [ ] "dot-notation"
- [X] "dot-notation"
- [X] "eol-last"
- [X] "eqeqeq"
- [ ] "for-direction"

View File

@ -48,6 +48,12 @@
"before": false
}
],
"dot-notation": [
"error",
{
"allowKeywords": true
}
],
"eol-last": [
"error",
"always"