Skip to content

Configuration file for CoffeeLint

License

Notifications You must be signed in to change notification settings

dopustim/coffeelint-config

Repository files navigation

CoffeeLint Configuration

Configuration for CoffeeLint

NPM

Features

  • Provide Errors and Warnings
  • 4 spaces for indentation (warning)
  • 90 symbols per line (warning)
  • Unix linebreaks (warning)

Usage

Install @coffeelint/cli and @dopustim/coffeelint-config packages via NPM:

npm install -D @coffeelint/cli @dopustim/coffeelint-config

Extend this config in your .coffeelintrc.json:

{
    "extends": "@dopustim/coffeelint-config"
}

Or use your package.json:

"coffeelintConfig": {
    "extends": "@dopustim/coffeelint-config"
}

You can also reassign any rule for your needs:

{
    "extends": "@dopustim/coffeelint-config",
    "max_line_length": { "value": 100, "limitComments": true, "level": "warn" }
}

About

Visit the CoffeeLint website to find out all rules and descriptions.