1.0.0 • Published 10 years ago
karma-html_codesniffer v1.0.0
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-devInstructions 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.
1.0.0
10 years ago