Skip to content

electric-eloquence/fp-htmllint

Repository files navigation

htmllint extension for Fepper

Known Vulnerabilities Linux Build Status Mac Build Status Windows Build Status Coverage Status License

This extension will lint the HTML in your public/patterns directory.

Install

cd extend
npm i --save-dev fp-htmllint

Use

Add this tasks to extend/contrib.js

  • Under gulp task 'contrib:once'
    • 'htmllint'

On the command line:

fp htmllint

On installation, a .htmllintrc file will be copied into your project's current working directory. Customize it to the needs of your project: htmllint options.

You can customize further by writing additional gulp-htmllint options to your pref.yml file.

htmllint:
  config: another/location/.htmllintrc
  failOnError: true