Auto-fix linter errors

This commit is contained in:
Leonid Logvinov
2017-11-22 14:07:53 -06:00
parent d20926e150
commit 87d34f9c7f
28 changed files with 207 additions and 159 deletions

View File

@@ -5,8 +5,14 @@
],
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"await-promise": true,
"ordered-imports": false,
"ordered-imports": [
true,
{
"grouped-imports": true
}
],
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"callable-types": true,
"interface-name": false,
@@ -14,6 +20,7 @@
"object-literal-sort-keys": false,
"max-classes-per-file": false,
"max-line-length": [true, 120],
"member-access": true,
"member-ordering": [true,
"public-before-private",
"static-before-instance",
@@ -23,8 +30,12 @@
"no-default-export": true,
"no-empty-interface": false,
"no-floating-promises": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-return-await": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-unnecessary-type-assertion": true,
"no-implicit-dependencies": [true, "dev"],
"prefer-const": true,
"promise-function-async": true,