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

allow useGitIgnore=false #992

Closed
yonatanmn opened this issue Sep 23, 2017 · 1 comment

Comments

@yonatanmn
Copy link

commented Sep 23, 2017

in a new project I generate code programatically and want to pipe it through Standard.
My auto-generated folder is in .gitignore, so when I do standard "auto/1.js" it's not checking it.

It's not my case but I guess all other default ignores (e.g. "coverage" folder) should be optional some how.

@Flet

This comment has been minimized.

Copy link
Member

commented Nov 7, 2017

The default ignore behavior is pretty well baked into standard at this point, so unfortunately I don't think it will change. Here are a couple of alternative options:

  • It may be easier to use eslint directly with eslint-config-standard since eslint does not use the gitIgnore file to ignore things (it uses its own eslintignore file).

  • We just added a new feature in standard-engine to turn off the default ignore paths. A new separate CLI tool could be built that leverages this feature.

I'm closing this issue now, but feel free to reply if there are additional questions.

@Flet Flet closed this Nov 7, 2017

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

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