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

config file #145

Open
leonardoanalista opened this issue Apr 4, 2016 · 6 comments
Open

config file #145

leonardoanalista opened this issue Apr 4, 2016 · 6 comments

Comments

@leonardoanalista
Copy link

Great work guys, there are lots of options and sensible defaults.
I am reading the doc/website and can't see a kind of .htmllintrc or equivalent to other linters. If there is, please put in the first page so we know how to configure.

@mlochbaum
Copy link
Member

We don't have a method for global configuration. I would accept a pull request with reasonable behavior (look at Linter.getOptions in lib/linter.js as a starting point), but I don't think I will implement this in the near future. Given that essentially the same thing can be accomplished just by copy-pasting a base configuration, it doesn't seem like a very high priority.

@thasmo
Copy link

thasmo commented Apr 23, 2016

Be sure to check out cosmiconfig if you're planning to implement this.

@alexander-akait
Copy link

alexander-akait commented Jul 29, 2016

@coalman this feature would be great, unfortunately the project is not developing as fast, if you need help I'll help with that. I am developing https://github.com/stylelint/stylelint and interested in the development of htmllint.

  • rewrite on es6
  • support configuration
  • more tests
  • plugins system
    and etc.

If you are interested in this ping me 😄

@szimek
Copy link

szimek commented Oct 6, 2016

@evilebottnawi Any progress on any of these things? Adding config and plugin support like in eslint would be really useful, because then not all rules would need to be provided by this library, so maintaining it would probably become easier.

@alexander-akait
Copy link

@szimek i wait when I find support and contributors 😄

@michael-ciniawsky
Copy link

michael-ciniawsky commented Nov 13, 2016

👋

@evilebottnawi 👍 Do you know of PostHTML? It's like PostCSS but for HTML, and is maybe useful here, I'm also interested in development of htmllint :)
Maybe we can join forces here 😛

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

No branches or pull requests

6 participants