Skip to content

Commit b5111f0

Browse files
committed
Update dependencies so build passes
1 parent 64a4fc2 commit b5111f0

5 files changed

Lines changed: 28963 additions & 32997 deletions

File tree

.eslintrc.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"plugins": ["jest", "@typescript-eslint"],
3-
"extends": ["plugin:github/es6"],
3+
"extends": ["plugin:github/typescript"],
44
"parser": "@typescript-eslint/parser",
55
"parserOptions": {
66
"ecmaVersion": 9,
@@ -16,13 +16,11 @@
1616
"@typescript-eslint/no-require-imports": "error",
1717
"@typescript-eslint/array-type": "error",
1818
"@typescript-eslint/await-thenable": "error",
19-
"@typescript-eslint/ban-ts-ignore": "error",
2019
"camelcase": "off",
2120
"@typescript-eslint/camelcase": "off",
22-
"@typescript-eslint/class-name-casing": "error",
2321
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
2422
"@typescript-eslint/func-call-spacing": ["error", "never"],
25-
"@typescript-eslint/generic-type-naming": ["error", "^[A-Z][A-Za-z]*$"],
23+
"@typescript-eslint/naming-convention": ["error", {"format": ["UPPER_CASE"], "selector": "typeParameter", "custom": {"regex": "^[A-Z][A-Za-z]*$", "match": true}}],
2624
"@typescript-eslint/no-array-constructor": "error",
2725
"@typescript-eslint/no-empty-interface": "error",
2826
"@typescript-eslint/no-explicit-any": "error",
@@ -32,15 +30,14 @@
3230
"@typescript-eslint/no-misused-new": "error",
3331
"@typescript-eslint/no-namespace": "error",
3432
"@typescript-eslint/no-non-null-assertion": "warn",
35-
"@typescript-eslint/no-object-literal-type-assertion": "error",
33+
"@typescript-eslint/consistent-type-assertions": ["error", {"assertionStyle": "never"}],
3634
"@typescript-eslint/no-unnecessary-qualifier": "error",
3735
"@typescript-eslint/no-unnecessary-type-assertion": "error",
3836
"@typescript-eslint/no-useless-constructor": "error",
3937
"@typescript-eslint/no-var-requires": "error",
4038
"@typescript-eslint/prefer-for-of": "warn",
4139
"@typescript-eslint/prefer-function-type": "warn",
4240
"@typescript-eslint/prefer-includes": "error",
43-
"@typescript-eslint/prefer-interface": "error",
4441
"@typescript-eslint/prefer-string-starts-ends-with": "error",
4542
"@typescript-eslint/promise-function-async": "error",
4643
"@typescript-eslint/require-array-sort-compare": "error",
@@ -55,4 +52,4 @@
5552
"es6": true,
5653
"jest/globals": true
5754
}
58-
}
55+
}

0 commit comments

Comments
 (0)