feat(typescript): Rule "interface-name-prefix"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:26:55 +04:00
parent 92c2dc54a9
commit 184879f361
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -345,7 +345,7 @@
- [ ] "func-call-spacing"
- [ ] "generic-type-naming"
- [X] "indent"
- [ ] "interface-name-prefix"
- [X] "interface-name-prefix"
- [ ] "member-delimiter-style"
- [ ] "member-naming"
- [ ] "member-ordering"

View File

@ -26,6 +26,13 @@
"outerIIFEBody": 1
}
],
"@typescript-eslint/interface-name-prefix": [
"error",
{
"allowUnderscorePrefix": false,
"prefixWithI": "always"
}
],
"@typescript-eslint/quotes": [
"error",
"double",