feat(typescript): comma-spacing

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-19 14:43:28 +04:00
parent ff60ccfbd9
commit 18c9632298
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 11 additions and 1 deletions

View File

@ -390,7 +390,7 @@
- [ ] "brace-style" - [ ] "brace-style"
- [ ] "camelcase" - [ ] "camelcase"
- [ ] "class-name-casing" - [ ] "class-name-casing"
- [ ] "comma-spacing" - [X] "comma-spacing"
- [ ] "consistent-type-assertions" - [ ] "consistent-type-assertions"
- [ ] "consistent-type-definitions" - [ ] "consistent-type-definitions"
- [ ] "default-param-last" - [ ] "default-param-last"

View File

@ -2,6 +2,13 @@
"@typescript-eslint/await-thenable": [ "@typescript-eslint/await-thenable": [
"error" "error"
], ],
"@typescript-eslint/comma-spacing": [
"error",
{
"after": true,
"before": false
}
],
"@typescript-eslint/indent": [ "@typescript-eslint/indent": [
"error", "error",
"tab", "tab",
@ -172,6 +179,9 @@
"variableDeclaration": true "variableDeclaration": true
} }
], ],
"comma-spacing": [
"off"
],
"indent": [ "indent": [
"off" "off"
], ],