1. eslint-plugin-pug
An ESLint plugin for linting inline scripts in Pug files
eslint-plugin-pug
Package: eslint-plugin-pug
Created by: myfreeweb
Last modified: Tue, 15 Nov 2022 18:53:55 GMT
Version: 1.2.5
License: Unlicense
Downloads: 19,374
Repository: https://github.com/myfreeweb/eslint-plugin-pug

Install

npm install eslint-plugin-pug
yarn add eslint-plugin-pug

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.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin