Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

How to make this work with html templates? #190

Closed
hybrisCole opened this issue Nov 17, 2014 · 3 comments
Closed

How to make this work with html templates? #190

hybrisCole opened this issue Nov 17, 2014 · 3 comments

Comments

@hybrisCole
Copy link

I want to use this with https://github.com/yeoman/generator-angular, but lint is ranting because the templates obviously does not have <! doctype> and other stuff (they are just plain html).

Is there any config I can setup to make it ignore those rules on templates?

Regards

@cvrebert
Copy link
Collaborator

Semi-duplicate of #183.
You can disable specific checks using the -d/--disable option, which is explained on https://github.com/twbs/bootlint#on-the-command-line

@N4M3Z
Copy link

N4M3Z commented Jan 9, 2017

In my opinion this really needs to be configurable through other means than just the command line. Either by comment tags within the html file itself or a dotfile in project root. Command line arguments change global behavior if bootlint is being run from an editor like Atom.

@cvrebert
Copy link
Collaborator

cvrebert commented Jan 9, 2017

@N4M3Z See #371.

@twbs twbs locked and limited conversation to collaborators Jan 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants