coffeelint-non-indentation-alignment

1.0.1 • Public • Published

Coffeelint Non-indentation Alignment

npm-image

This rule forbids spaces as padding or alignment, other than indentation.

Comments and whitespace in strings are ignored. Trailing whitespace is also ignored, because there is already a supported coffeelint rule for that.

Install

Install with the following:

npm install --save-dev coffeelint-non-indentation-alignment

Usage

{
  "non_indentation_alignment": {
    "module": "coffeelint-non-indentation-alignment",
    "level": "error"
  }
}

Examples

# good
plant = "dionaea muscipula"
food = "bug"
country = "united states"

# bad
plant   = "dionaea muscipula"
food    = "bug"
country = "united states"

Development

Please feel free to contribute by making an issue or pull request! See coffeelint's 3rd party rules guide if you need help with setting up.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i coffeelint-non-indentation-alignment

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • nebulousdog