Skip to content

Commit

Permalink
docs(eslint-plugin): Add note for running eslint with ext for .ts fil…
Browse files Browse the repository at this point in the history
…es (#547)
  • Loading branch information
amirnissim authored and bradzacher committed May 22, 2019
1 parent 5792aa1 commit 6cf4b9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-plugin/README.md
Expand Up @@ -68,6 +68,8 @@ If you want to use rules which require type information, you will need to specif

See [@typescript-eslint/parser's README.md](../parser/README.md) for more information on the available "parserOptions".

**Note: Make sure to use `eslint --ext .js,.ts` since by [default](https://eslint.org/docs/user-guide/command-line-interface#--ext) `eslint` will only search for .js files.**

## Usage with Prettier

Install [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) to disable our code formatting related rules:
Expand Down

0 comments on commit 6cf4b9f

Please sign in to comment.