Skip to content

Commit

Permalink
Update coffeelint to 1.16.0 and ignore some rules. Fix #967.
Browse files Browse the repository at this point in the history
line_endings disabled due to git autocrlf.
indentation disabled due to bug with function argument wrapping.
  • Loading branch information
FelisCatus committed Mar 26, 2017
1 parent f2a6909 commit 6c66169
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions omega-pac/grunt/coffeelint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports =
spacing:
left: 0
right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error'
no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error'
space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'

gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee']
Expand Down
2 changes: 1 addition & 1 deletion omega-pac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"chai": "~1.9.1",
"coffee-script": "^1.7.1",
"coffeeify": "^0.7.0",
"coffeelint": "~1.11.1",
"coffeelint": "^1.16.0",
"grunt": "^0.4.5",
"grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13",
Expand Down
4 changes: 2 additions & 2 deletions omega-target-chromium-extension/grunt/coffeelint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports =
spacing:
left: 0
right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error'
no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error'
space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'

gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee']
Expand Down
2 changes: 1 addition & 1 deletion omega-target-chromium-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"chai": "~1.9.1",
"coffee-script": "^1.7.1",
"coffeeify": "^0.7.0",
"coffeelint": "~1.11.1",
"coffeelint": "^1.16.0",
"grunt": "^0.4.5",
"grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13",
Expand Down
4 changes: 2 additions & 2 deletions omega-target/grunt/coffeelint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports =
spacing:
left: 0
right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error'
no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error'
space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'

gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee']
Expand Down
2 changes: 1 addition & 1 deletion omega-target/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"chai": "^1.10.0",
"coffee-script": "^1.8.0",
"coffeeify": "^0.7.0",
"coffeelint": "~1.11.1",
"coffeelint": "^1.16.0",
"grunt": "^0.4.5",
"grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13",
Expand Down
4 changes: 2 additions & 2 deletions omega-web/grunt/coffeelint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ module.exports =
spacing:
left: 0
right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error'
no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error'
space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'

gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee']
Expand Down
2 changes: 1 addition & 1 deletion omega-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"devDependencies": {
"chai": "~1.9.1",
"coffeelint": "~1.11.1",
"coffeelint": "^1.16.0",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^1.0.1",
"grunt-bower-task": "^0.4.0",
Expand Down

0 comments on commit 6c66169

Please sign in to comment.