Auto-fix linter errors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user