eslint-plugin-pug

1.2.5 • Public • Published

npm version npm downloads Build Status Unlicense

eslint-plugin-pug

An ESLint plugin for linting inline scripts in Pug files (formerly Jade)!

Only extracts script tags with no type or text/javascript type.

See also: eslint-plugin-html.

Installation

Install with npm, obviously:

npm install --save-dev eslint eslint-plugin-pug

And add to your ESLint configuration -- .eslintrc or eslintConfig in package.json:

{
  "plugins": [
    "pug"
  ]
}

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct and to release your contributions under the Unlicense.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

Package Sidebar

Install

npm i eslint-plugin-pug

Weekly Downloads

1,605

Version

1.2.5

License

Unlicense

Unpacked Size

10.4 kB

Total Files

5

Last publish

Collaborators

  • taichunmin
  • valpackett
  • eslint-pug-ci