Skip to content

Fix tsc complaint in runCli.ts #1129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 3, 2021
Merged

Fix tsc complaint in runCli.ts #1129

merged 3 commits into from
Jul 3, 2021

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg commented Jul 3, 2021

PR Checklist

Overview

https://app.circleci.com/pipelines/github/typescript-eslint/tslint-to-eslint-config/2131/workflows/941c2781-b0f2-4250-b680-4a6187e4a948/jobs/10958

> tsc

src/cli/runCli.ts:44:9 - error TS2783: 'config' is specified more than once, so this usage will be overwritten.

44         config: "./.eslintrc.js",
           ~~~~~~~~~~~~~~~~~~~~~~~~

  src/cli/runCli.ts:45:9
    45         ...command.parse(rawArgv).opts(),
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This spread always overwrites this property.

@JoshuaKGoldberg JoshuaKGoldberg merged commit d244dd1 into main Jul 3, 2021
@JoshuaKGoldberg JoshuaKGoldberg deleted the fix-tsc branch July 3, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tsc task failing in CI
1 participant