IanVS / eslint-nibble

Ease into ESLint, by fixing one rule at a time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `--ext` command line argument

tlrobinson opened this issue · comments

Unfortunately there's no way to configure which extensions to look at in .eslintrc so you have to pass it on the command line: http://eslint.org/docs/user-guide/configuring#specifying-file-extensions-to-lint

It would be great if nibble supported this so I could use it on .jsx files, etc.

Relevant ESLint issue: eslint/eslint#2419

Thanks for the report. I'll work on it tonight, but in the meantime maybe
you can use a glob pattern like *.jsx?

On Wed, Aug 3, 2016, 18:26 Tom Robinson notifications@github.com wrote:

Unfortunately there's no way to configure which extensions to look at in
.eslintrc so you have to pass it on the command line:
http://eslint.org/docs/user-guide/configuring#specifying-file-extensions-to-lint

It would be great if nibble supported this so I could use it on .jsx
files, etc.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#21, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEZyAaY6GmvnOCI9FnL6Ygb4vryyZYsLks5qcRWggaJpZM4JcKSv
.

Published version 2.1.0 to support --ext. But, version 3.0.0 is right around the corner, which will add support for ESLint 3.X, so I'd suggest waiting for that version if you can.

Thanks for being so responsive!