0.1.2 • Published 9 years ago

grunt-htmlcs v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

grunt-htmlcs

Grunt task for HTML linter: htmlcs.

Installation

npm install grunt-htmlcs

Usage

Add a the Grunt configuration:

htmlcs: {
    all: {
        files: {
            src: ['src/{,**/}*.html']
        }
    }
}

Load the task:

grunt.loadNpmTasks('grunt-htmlcs');

And run it:

grunt htmlcs:all

See the simple full example.

Configuration

Configuration of the htmlcs rules is done by adding a file .htmlcsrc next to your Gruntfile. The config file indicates which rules should be run with which options. See default list to get started.

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago