README.md in coffeelint-1.8.1 vs README.md in coffeelint-1.9.1

- old
+ new

@@ -1,8 +1,8 @@ # Coffeelint [![Build Status](https://travis-ci.org/zmbush/coffeelint-ruby.svg?branch=master)](https://travis-ci.org/zmbush/coffeelint-ruby) [![Gem Version](https://badge.fury.io/rb/coffeelint.png)](http://badge.fury.io/rb/coffeelint) -Using coffeelint version: v1.8.1 +Using coffeelint version: v1.9.1 Coffeelint is a set of simple ruby bindings for [coffeelint](https://github.com/clutchski/coffeelint). ## Install the [Gem](https://rubygems.org/gems/coffeelint) @@ -47,9 +47,16 @@ ```ruby Coffeelint.run_test_suite(directory, :config_file => 'coffeelint_config.json') ``` Then it will load the config options from that file. + +Alternatively you can create a config file in your project, coffeelint will load these by default: + +* coffeelint.json +* .coffeelint.json +* config/coffeelint.json +* config/.coffeelint.json To use a local version of coffeelint instead of the one bundled with the gem, You can set the path with `Coffeelint.set_path(/path/to/coffeelint.js)` Additionally, if you are using rails you also get the rake task: