Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.14 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.14 KB

@mcmath/coffeelint-config

Version Build

CoffeeLint config for CoffeeScript projects

Install

Install through npm as a development dependency. CoffeeScript and CoffeeLint should also be installed.

npm install --save-dev coffee-script coffeelint @mcmath/coffeelint-config

Usage

Create a coffeelint.json file at the root of your project with the following contents:

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

Rules may be added or modified like so:

{
  "extends": "@mcmath/coffeelint-config",
  "indentation": {
    "level": "error",
    "value": 2
  },
  "max_line_length": {
    "level": "ignore"
  }
}