diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index fed064c76..6b1dae4a8 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -144,12 +144,7 @@ module.exports = (grunt) -> coffeelint: options: - no_empty_param_list: - level: 'error' - max_line_length: - level: 'ignore' - indentation: - level: 'ignore' + configFile: 'coffeelint.json' src: [ 'dot-atom/**/*.coffee' 'exports/**/*.coffee' diff --git a/build/package.json b/build/package.json index 60ba05514..e143f9bbd 100644 --- a/build/package.json +++ b/build/package.json @@ -13,7 +13,7 @@ "github-releases": "~0.2.0", "grunt": "~0.4.1", "grunt-cli": "~0.1.9", - "grunt-coffeelint": "git+https://github.com/atom/grunt-coffeelint.git", + "grunt-coffeelint": "0.0.13", "grunt-contrib-coffee": "~0.9.0", "grunt-contrib-csslint": "~0.1.2", "grunt-contrib-less": "~0.8.0", diff --git a/coffeelint.json b/coffeelint.json new file mode 100644 index 000000000..360168898 --- /dev/null +++ b/coffeelint.json @@ -0,0 +1,14 @@ +{ + "indentation": { + "level": "ignore" + }, + "max_line_length": { + "level": "ignore" + }, + "no_empty_param_list": { + "level": "error" + }, + "no_unnecessary_fat_arrows": { + "level": "ignore" + } +}