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

    Install

    npm i coffeelint-non-indentation-alignment

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • nebulousdog