1.0.1 • Published 7 years ago

coffeelint-non-indentation-alignment v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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