Skip to content

Repo: Linting broken on main for deprecated ESLint methods #7913

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion


joshgoldberg ~/repos/typescript-eslint $ yarn lint
 
    ✔  nx run ast-spec:lint (6s)
    ✔  nx run types:lint (10s)
    ✔  nx run visitor-keys:lint (12s)
    ✔  nx run scope-manager:lint (5s)
    ✔  nx run parser:lint (7s)
    ✔  nx run typescript-estree:lint (14s)
    ✔  nx run type-utils:lint (10s)
    ✔  nx run rule-tester:lint (10s)
    ✔  nx run utils:lint (15s)
    ✔  nx run rule-schema-to-typescript-types:lint (8s)
    ✔  nx run website-eslint:lint (13s)

    ✖  nx run eslint-plugin-internal:lint
       Linting "eslint-plugin-internal"...
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin-internal/src/rules/plugin-test-formatting.ts
         150:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       ✖ 1 problem (1 error, 0 warnings)
       
       Lint errors found in the listed files.
       
       

    ✖  nx run eslint-plugin-tslint:lint
       Linting "eslint-plugin-tslint"...
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin-tslint/src/rules/config.ts
         122:43  error  'getCwd' is deprecated. in favor of `RuleContext#cwd`                deprecation/deprecation
         122:61  error  'getFilename' is deprecated. in favor of `RuleContext#filename`      deprecation/deprecation
         123:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       ✖ 3 problems (3 errors, 0 warnings)
       
       Lint errors found in the listed files.
       
       
    ✔  nx run integration-tests:lint (6s)
    ✔  nx run repo-tools:lint (7s)

    ✖  nx run eslint-plugin:lint
       Linting "eslint-plugin"...
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/adjacent-overload-signatures.ts
         33:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/array-type.ts
         138:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/await-thenable.ts
         53:46  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/ban-ts-comment.ts
         105:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/ban-tslint-comment.ts
         34:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/ban-types.ts
         221:46  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/block-spacing.ts
         33:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/brace-style.ts
         35:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/class-literal-property-style.ts
          98:46  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         133:46  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/class-methods-use-this.ts
         102:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/comma-dangle.ts
         97:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/comma-spacing.ts
         58:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-generic-constructors.ts
         34:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-indexed-object-style.ts
         31:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         70:31  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-type-assertions.ts
          93:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         258:18  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-type-definitions.ts
         29:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         37:10  error  'getAncestors' is deprecated. in favor of `SourceCode#getAncestors`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-type-exports.ts
         77:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/consistent-type-imports.ts
         107:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`                  deprecation/deprecation
         171:44  error  'getDeclaredVariables' is deprecated. in favor of `SourceCode#getDeclaredVariables`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/explicit-function-return-type.ts
         101:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/explicit-member-accessibility.ts
         101:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/explicit-module-boundary-types.ts
         101:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         297:29  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/func-call-spacing.ts
         77:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/indent.ts
         381:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/key-spacing.ts
         53:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/keyword-spacing.ts
         52:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/lines-around-comment.ts
         151:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/member-delimiter-style.ts
         203:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/member-ordering.ts
         730:52  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         779:52  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         849:51  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/method-signature-style.ts
         40:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/naming-convention.ts
         166:59  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         283:34  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         295:53  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         331:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         585:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         611:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         633:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         656:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         678:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-array-constructor.ts
         44:38  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-base-to-string.ts
         74:25  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-confusing-non-null-assertion.ts
         32:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-confusing-void-expression.ts
         105:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-duplicate-type-constituents.ts
         155:34  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-dynamic-delete.ts
         69:34  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-empty-interface.ts
         49:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         50:34  error  'getFilename' is deprecated. in favor of `RuleContext#filename`      deprecation/deprecation
         78:35  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-extra-parens.ts
         34:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-implied-eval.ts
         126:10  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-import-type-side-effects.ts
         32:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-inferrable-types.ts
         51:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-invalid-void-type.ts
         104:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-loop-func.ts
         51:34  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-meaningless-void-operator.ts
         49:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-mixed-enums.ts
         48:41  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-namespace.ts
         52:30  error  'getFilename' is deprecated. in favor of `RuleContext#filename`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-non-null-asserted-nullish-coalescing.ts
         56:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
         64:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-non-null-assertion.ts
         27:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-redeclare.ts
          52:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         239:29  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
         252:31  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-require-imports.ts
         24:56  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-shadow.ts
         651:37  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unnecessary-boolean-literal-compare.ts
         82:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unnecessary-condition.ts
         156:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unnecessary-qualifier.ts
         30:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unnecessary-type-assertion.ts
         58:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unnecessary-type-constraint.ts
         59:61  error  'getFilename' is deprecated. in favor of `RuleContext#filename`      deprecation/deprecation
         61:28  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unsafe-declaration-merging.ts
         52:40  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
         66:19  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unsafe-member-access.ts
         47:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-unused-vars.ts
         100:30  error  'getFilename' is deprecated. in favor of `RuleContext#filename`                      deprecation/deprecation
         101:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`                  deprecation/deprecation
         199:32  error  'getDeclaredVariables' is deprecated. in favor of `SourceCode#getDeclaredVariables`  deprecation/deprecation
         317:31  error  'getScope' is deprecated. in favor of `SourceCode#getScope`                          deprecation/deprecation
         549:27  error  'getScope' is deprecated. in favor of `SourceCode#getScope`                          deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-use-before-define.ts
         386:38  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-useless-empty-export.ts
         46:34  error  'getFilename' is deprecated. in favor of `RuleContext#filename`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/no-var-requires.ts
         44:58  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/non-nullable-type-assertion-style.ts
         33:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/object-curly-spacing.ts
         36:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         71:10  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         97:10  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/padding-line-between-statements.ts
         412:10  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         448:34  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         648:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/parameter-properties.ts
         152:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-enum-initializers.ts
         26:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-for-of.ts
         164:34  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`                  deprecation/deprecation
         207:36  error  'getDeclaredVariables' is deprecated. in favor of `SourceCode#getDeclaredVariables`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-function-type.ts
         31:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-includes.ts
         35:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-namespace-keyword.ts
         23:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-nullish-coalescing.ts
         128:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-optional-chain.ts
         105:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-readonly.ts
         187:36  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-reduce-type-parameter.ts
         96:24  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts
         41:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
         44:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-string-starts-ends-with.ts
         41:33  error  'getScope' is deprecated. in favor of `SourceCode#getScope`          deprecation/deprecation
         42:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/prefer-ts-expect-error.ts
         28:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/promise-function-async.ts
         101:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/require-await.ts
         49:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/return-await.ts
         57:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/sort-type-constituents.ts
         168:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/space-before-blocks.ts
         37:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/space-before-function-paren.ts
         64:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/space-infix-ops.ts
         41:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/strict-boolean-expressions.ts
         163:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/switch-exhaustiveness-check.ts
         33:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/triple-slash-reference.ts
         58:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/type-annotation-spacing.ts
         157:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/unbound-method.ts
         170:15  error  'getFilename' is deprecated. in favor of `RuleContext#filename`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/rules/unified-signatures.ts
         102:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/src/util/collectUnusedVariables.ts
         32:15  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         43:29  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/tests/rules/no-unused-vars/no-unused-vars-eslint.test.ts
         25:13  error  'markVariableAsUsed' is deprecated. in favor of `SourceCode#markVariableAsUsed`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/tests/util/getWrappedCode.test.ts
         39:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/tests/util/getWrappingFixer.test.ts
          32:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
         325:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       /Users/josh/repos/typescript-eslint/packages/eslint-plugin/tests/util/isNodeEqual.test.ts
         23:32  error  'getSourceCode' is deprecated. in favor of `RuleContext#sourceCode`  deprecation/deprecation
       
       ✖ 132 problems (132 errors, 0 warnings)
       
       Lint errors found in the listed files.
       
       
    ✔  nx run website:lint (14s)

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target lint for 17 projects (1m)
 
    ✔    14/17 succeeded [0 read from cache]
 
    ✖    3/17 targets failed, including the following:
         - nx run eslint-plugin-internal:lint
         - nx run eslint-plugin-tslint:lint
         - nx run eslint-plugin:lint
 
   View structured, searchable error logs at https://nx.app/runs/Rwx16FNYRJ

joshgoldberg ~/repos/typescript-eslint $ 

Conflict from multiple PRs merging at the same time and/or my hitting the green button before I should have. I'll send a PR.

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions