Skip to content

template-lint-config 6.0.7

Install from the command line:
Learn more about npm packages
$ npm install @zestia/template-lint-config@6.0.7
Install via package.json:
"@zestia/template-lint-config": "6.0.7"

About this version

@zestia/template-lint-config

This package provides linting rules for HTML templates.

The rules are based on community standards, with a few extra ones specific to Zestia.

Installation

npm install --save-dev @zestia/template-lint-config

Setup

  1. Create the following file .template-lintrc.js

    module.exports = {
      plugins: ['@zestia/template-lint-config'],
      extends: 'zestia:recommended'
    };
  2. Add the following to scripts in package.json

    "lint:hbs": "ember-template-lint ."
    

Running

npm run lint:hbs

Related repos

Details


Assets

  • template-lint-config-6.0.7.tgz

Download activity

  • Total downloads 151
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all