Skip to content

Commit de9d1f8

Browse files
renovate[bot]renovate-botJoshuaKGoldberg
authored
Update typescript-eslint monorepo to v2.28.0 (#358)
* Update typescript-eslint monorepo to v2.28.0 * Disabled all the new breaking rules * npm audit fix Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Josh Goldberg <[email protected]>
1 parent 56885af commit de9d1f8

File tree

4 files changed

+57
-56
lines changed

4 files changed

+57
-56
lines changed

.eslintrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,29 @@ module.exports = {
2020
rules: {
2121
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
2222
"@typescript-eslint/explicit-function-return-type": "off",
23+
"@typescript-eslint/explicit-module-boundary-types": "off",
2324
"@typescript-eslint/generic-type-naming": "off",
25+
"@typescript-eslint/method-signature-style": "off",
2426
"@typescript-eslint/no-explicit-any": "off",
2527
"@typescript-eslint/no-magic-numbers": "off",
2628
"@typescript-eslint/no-parameter-properties": "off",
2729
"@typescript-eslint/no-type-alias": "off",
30+
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
2831
"@typescript-eslint/no-unnecessary-condition": "off",
32+
"@typescript-eslint/no-unsafe-assignment": "off",
33+
"@typescript-eslint/no-unsafe-call": "off",
34+
"@typescript-eslint/no-unsafe-member-acces": "off",
35+
"@typescript-eslint/no-unsafe-member-access": "off",
36+
"@typescript-eslint/no-unsafe-return": "off",
2937
"@typescript-eslint/no-untyped-public-signature": "off",
3038
"@typescript-eslint/no-use-before-define": "off",
39+
"@typescript-eslint/prefer-readonly-parameter-types": "off",
40+
"@typescript-eslint/prefer-reduce-type-parameter": "off",
3141
"@typescript-eslint/require-await": "off",
3242
"@typescript-eslint/restrict-template-expressions": "off",
3343
"@typescript-eslint/return-await": "off",
3444
"@typescript-eslint/strict-boolean-expressions": "off",
45+
"@typescript-eslint/switch-exhaustiveness-check": "off",
3546
"@typescript-eslint/typedef": "off",
3647
"no-else-return": "error",
3748
},

package-lock.json

Lines changed: 43 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"@babel/preset-typescript": "7.9.0",
2525
"@types/jest": "25.2.1",
2626
"@types/node": "12.12.21",
27-
"@typescript-eslint/eslint-plugin": "2.12.0",
28-
"@typescript-eslint/parser": "2.12.0",
27+
"@typescript-eslint/eslint-plugin": "2.28.0",
28+
"@typescript-eslint/parser": "2.28.0",
2929
"babel-jest": "25.3.0",
3030
"eslint": "6.8.0",
3131
"eslint-config-prettier": "6.10.1",

src/rules/converters/import-blacklist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type ESLintOptions = ESLintSimpleOption | ESLintComplexOption;
1616
const NOTICE_MATCH_PATTERNS =
1717
"ESLint and TSLint use different strategies to match patterns. TSLint uses standard regular expressions, but ESLint .gitignore spec.";
1818

19-
export const convertImportBlacklist: RuleConverter = tslintRule => {
19+
export const convertImportBlacklist: RuleConverter = (tslintRule) => {
2020
let ruleArguments: ESLintOptions = [];
2121
const notices = [];
2222

0 commit comments

Comments
 (0)