@gossi/config-template-lint

0.8.0 • Public • Published

@gossi/config-template-lint

Add template-lint to your packages.

Installation

  1. Install these packages:

    pnpm add -D @gossi/config-template-lint ember-template-lint
  2. Create a .template-lintrc.js file with these contents:

    'use strict';
    
    module.exports = require('@gossi/config-template-lint');
  3. Add scripts to execute linting

    {
      "scripts": {
        "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
        "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern"
      }
    }

Readme

Keywords

none

Package Sidebar

Install

npm i @gossi/config-template-lint

Weekly Downloads

92

Version

0.8.0

License

none

Unpacked Size

2.14 kB

Total Files

6

Last publish

Collaborators

  • gossi