Skip to content
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

Fix lint command by allowing use --write-file flag #199

Merged
merged 2 commits into from Sep 9, 2019

Conversation

@albizures
Copy link
Contributor

commented Sep 7, 2019

Currently if you try tsdx lint --write-file you get:

  Description
    Run eslint with Prettier

  Usage
    $ tsdx lint [options]

  Options
    --fix               Fixes fixable errors and warnings
    --ignore-pattern    Ignore a pattern
    --write-file        Write the config file locally
    -h, --help          Displays this message

  Examples
    $ tsdx lint src test
    $ tsdx lint src test --fix
    $ tsdx lint src test --ignore-pattern test/foobar.ts
    $ tsdx lint --write-file

No input files specified.

@jaredpalmer jaredpalmer merged commit d3e58ef into palmerhq:master Sep 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.