@lcooper/pug-lint-config

1.0.0 • Public • Published

@lcooper/pug-lint-config

npm license

A sharable pug-lint config for linting pug files.

Installation

Install with the peer dependency pug-lint:

npm install --save-dev pug-lint @lcooper/pug-lint-config

Usage

Add the pugLintConfig field to your package.json file:

"pugLintConfig": {
  "extends": "@lcooper/pug-lint-config"
}

Or create a pug-lint config file type of your choice in the root folder of your project:

.pug-lintrc or .pug-lintrc.json

{
  "extends": "@lcooper/pug-lint-config"
}

.pug-lintrc.js

module.exports = {
    extends: '@lcooper/pug-lint-config',
};

Scripts

Add a script to your package.json file:

"scripts": {
  "lint:pug": "pug-lint **/*.pug"
}

Readme

Keywords

Package Sidebar

Install

npm i @lcooper/pug-lint-config

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.74 kB

Total Files

4

Last publish

Collaborators

  • lcooper