Skip to content

Instantly share code, notes, and snippets.

@AsaAyers
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AsaAyers/140023f09a10c2d0a149 to your computer and use it in GitHub Desktop.
Save AsaAyers/140023f09a10c2d0a149 to your computer and use it in GitHub Desktop.
{
"use_strict": {
"module": "coffeelint-use-strict",
"level": "error",
"allowGlobal": false,
"requireGlobal": false
},
"indentation" : {
"value": 4
},
}
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
coffeelint:
tests:
files:
src: [
'Gruntfile.coffee'
]
options:
configFile: 'coffeelint.json'
grunt.loadNpmTasks 'grunt-coffeelint'
# Default task.
grunt.registerTask 'default', 'coffeelint'
{
"name": "gcl-test",
"version": "0.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"coffeelint": "^1.5",
"coffeelint-use-strict": "^0.0.1",
"grunt": "^0.4.5",
"grunt-coffeelint": "git://github.com/vojtajina/grunt-coffeelint.git"
},
"devDependencies": {
"coffee-script": "^1.7.1"
},
"scripts": {
"test": "coffeelint Gruntfile.coffee; grunt"
},
"author": "",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment