coffeelint-limit-newlines

0.0.2 • Public • Published

CoffeeLint - Limit number of newlines

Description

This CoffeeLint plugin checks to make sure there aren't to many blank newlines in your coffeescript file.

Installation

npm install coffeelint-limit-newlines

Usage

Insert the below configuration into coffeelint.json that you use for linting your scripts:

"limit_newlines": {
    "module": "coffeelint-limit-newlines",
    "level": "error",
    "value": 5 //number of newlines allowed
}

Configuration

The only configuration option specific to this plugin is the value property.

By default, Coffeelint will report errors if this rule is not satisfied. You may want to relax this by setting the level to warn in your configuration.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1,203
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1,203
  • 0.0.1
    0

Package Sidebar

Install

npm i coffeelint-limit-newlines

Weekly Downloads

925

Version

0.0.2

License

none

Last publish

Collaborators

  • begizi
  • regexb