Skip to content

error when invalid args passed to svelte-check #1951

@DetachHead

Description

@DetachHead

Description

i was trying to run svelte-check -p src/tsconfig.json and couldn't figure out why it wasn't working, because i forgot that the argument is actually called --tsconfig (i was mixing it up with tsc which uses -p)

Proposed solution

throw an error if an unrecognized argument is passed to svelte-check

Alternatives

No response

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.contributions welcomepull requests for this issue welcomefeature requestNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions