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

Improve .htmlhintrc handling #11

Open
bezoerb opened this issue Apr 9, 2015 · 1 comment
Open

Improve .htmlhintrc handling #11

bezoerb opened this issue Apr 9, 2015 · 1 comment
Assignees

Comments

@bezoerb
Copy link
Owner

bezoerb commented Apr 9, 2015

currently the .htmlhintrc needs to be specified relative to the project root.

Maybe something like this would be much nicer:

  • Try to autodetect file based on the current filepath up to the project root
  • When file is found -> use (no explicit htmlhintrc setting needed)
  • When file is specified, use specified one
  • Specified rules will overwrite rules in .htmlhintrc
@ghost
Copy link

ghost commented Apr 9, 2015

I think it should follow what eslint does.

eslint has a root rc, then sub rc files can override the root or compliment it. A top-down approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant