Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fly-pug-lint

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-pug-lint

Pug-lint plugin for Fly.

  • 0.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

fly-pug-lint

fly badge npm badge download badge travisbadge license badge

Pug-lint plugin for Fly .

Install

This plugin requires Fly .

npm i -D fly-pug-lint

Usage

By default, fly-pug-lint uses .pug-lintrc.js in your project directory as pug-lint config.

Async/Await flavored:

export async function lintPug () {
  await this
    .source('src/*.pug')
    .puglint()
    /* or pass your custom options to pug-lint
     * .puglint({
     *   extends: '.pug-lintrc.js',
     *   disallowIdAttributeWithStaticValue: true,
     *   disallowSpacesInsideAttributeBrackets: null
     * })
     */
}

Generator function flavored:

exports.lintPug = function* () {
  yield this
    .source('src/*.pug')
    .puglint()
    /* or pass your custom options to pug-lint
     * .puglint({
     *   extends: '.pug-lintrc.js',
     *   disallowIdAttributeWithStaticValue: true,
     *   disallowSpacesInsideAttributeBrackets: null
     * })
     */
}

Check out Pug-lint documentation for available options.

License

Do What The F*ck You Want To Public License

Keywords

FAQs

Package last updated on 30 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc