https://github.com/commercetools/sphere-coffeelint
Coffeelint configuration file used in SPHERE.IO coffeescript projects.
https://github.com/commercetools/sphere-coffeelint
Last synced: over 1 year ago
JSON representation
Coffeelint configuration file used in SPHERE.IO coffeescript projects.
- Host: GitHub
- URL: https://github.com/commercetools/sphere-coffeelint
- Owner: commercetools
- License: mit
- Created: 2014-02-11T10:57:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-13T18:21:17.000Z (over 12 years ago)
- Last Synced: 2025-02-25T14:56:09.496Z (over 1 year ago)
- Language: CoffeeScript
- Size: 145 KB
- Stars: 1
- Watchers: 32
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sphere-coffeelint
=================
[](https://travis-ci.org/sphereio/sphere-coffeelint)
Hosted coffeelint configuration file used in all SPHERE.IO coffeescript projects. To use the hosted *coffeelint.json* in another node project, make sure to follow given steps.
## Setup
* Add a module dependency to github repo [sphere-coffeelint](https://github.com/sphereio/sphere-coffeelint) in your npm config (*package.json*).
...
"devDependencies": {
...
"sphere-coffeelint": "git://github.com/sphereio/sphere-coffeelint.git#master"
}
...
* update project dependencies (npm downloads the newly added *sphere-coffeelint* module to *node_modules/*)
npm install
* Configure coffeelint in *Gruntfile.coffee* to use the file *coffeelint.json* located in the *sphere-coffeelint* module.
...
coffeelint:
options: grunt.file.readJSON('node_modules/sphere-coffeelint/coffeelint.json')
default: ["Gruntfile.coffee", "src/**/*.coffee"]
...