karma-html_codesniffer

1.0.0 • Public • Published

karma-HTML_CodeSniffer

Adapter for the HTML_CodeSniffer script

Installation

The easiest way is to keep karma-html_codesniffer as a devDependency in your package.json.

{
  "devDependencies": {
    "karma-html_codesniffer": "~1.0.0"
  }
}

You can simple do it by:

npm install karma-html_codesniffer --save-dev

Instructions on how to install karma can be found here.

Configuration

Following code shows the default configuration...

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['html_codesniffer'],

    files: [
      '*.js'
    ]
  });
};

For more information on Karma see the homepage.

Package Sidebar

Install

npm i karma-html_codesniffer

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • j1ands