feat(eslint): Rule "no-var"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 02:18:05 +04:00
parent 46abf32d58
commit 81d3e23810
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -216,7 +216,7 @@
- [ ] "no-useless-escape"
- [ ] "no-useless-rename"
- [ ] "no-useless-return"
- [ ] "no-var"
- [X] "no-var"
- [ ] "no-void"
- [ ] "no-warning-comments"
- [ ] "no-whitespace-before-property"

View File

@ -362,6 +362,9 @@
"vars": "all"
}
],
"no-var": [
"error"
],
"object-curly-newline": [
"error",
{