Update coffeelint to 1.16.0 and ignore some rules. Fix #967.

line_endings disabled due to git autocrlf.
indentation disabled due to bug with function argument wrapping.
This commit is contained in:
FelisCatus 2017-03-25 20:09:50 -04:00
parent f2a6909cd3
commit 6c66169781
8 changed files with 12 additions and 12 deletions

View File

@ -6,14 +6,14 @@ module.exports =
spacing: spacing:
left: 0 left: 0
right: 1 right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn' missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error' no_empty_functions: level: 'error'
no_empty_param_list: level: 'error' no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error' no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error' no_stand_alone_at: level: 'error'
space_operators: level: 'error' space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'
gruntfile: ['Gruntfile.coffee'] gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee'] tasks: ['grunt/**/*.coffee']

View File

@ -7,7 +7,7 @@
"chai": "~1.9.1", "chai": "~1.9.1",
"coffee-script": "^1.7.1", "coffee-script": "^1.7.1",
"coffeeify": "^0.7.0", "coffeeify": "^0.7.0",
"coffeelint": "~1.11.1", "coffeelint": "^1.16.0",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-browserify": "^3.0.0", "grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13", "grunt-coffeelint": "^0.0.13",

View File

@ -6,14 +6,14 @@ module.exports =
spacing: spacing:
left: 0 left: 0
right: 1 right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn' missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error' no_empty_functions: level: 'error'
no_empty_param_list: level: 'error' no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error' no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error' no_stand_alone_at: level: 'error'
space_operators: level: 'error' space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'
gruntfile: ['Gruntfile.coffee'] gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee'] tasks: ['grunt/**/*.coffee']

View File

@ -7,7 +7,7 @@
"chai": "~1.9.1", "chai": "~1.9.1",
"coffee-script": "^1.7.1", "coffee-script": "^1.7.1",
"coffeeify": "^0.7.0", "coffeeify": "^0.7.0",
"coffeelint": "~1.11.1", "coffeelint": "^1.16.0",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-browserify": "^3.0.0", "grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13", "grunt-coffeelint": "^0.0.13",

View File

@ -6,14 +6,14 @@ module.exports =
spacing: spacing:
left: 0 left: 0
right: 1 right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn' missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error' no_empty_functions: level: 'error'
no_empty_param_list: level: 'error' no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error' no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error' no_stand_alone_at: level: 'error'
space_operators: level: 'error' space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'
gruntfile: ['Gruntfile.coffee'] gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee'] tasks: ['grunt/**/*.coffee']

View File

@ -7,7 +7,7 @@
"chai": "^1.10.0", "chai": "^1.10.0",
"coffee-script": "^1.8.0", "coffee-script": "^1.8.0",
"coffeeify": "^0.7.0", "coffeeify": "^0.7.0",
"coffeelint": "~1.11.1", "coffeelint": "^1.16.0",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-browserify": "^3.0.0", "grunt-browserify": "^3.0.0",
"grunt-coffeelint": "^0.0.13", "grunt-coffeelint": "^0.0.13",

View File

@ -6,14 +6,14 @@ module.exports =
spacing: spacing:
left: 0 left: 0
right: 1 right: 1
line_endings: level: 'error'
missing_fat_arrows: level: 'warn' missing_fat_arrows: level: 'warn'
newlines_after_classes: level: 'error'
no_empty_functions: level: 'error' no_empty_functions: level: 'error'
no_empty_param_list: level: 'error' no_empty_param_list: level: 'error'
no_interpolation_in_single_quotes: level: 'error' no_interpolation_in_single_quotes: level: 'error'
no_stand_alone_at: level: 'error' no_stand_alone_at: level: 'error'
space_operators: level: 'error' space_operators: level: 'error'
# https://github.com/clutchski/coffeelint/issues/525
indentation: level: 'ignore'
gruntfile: ['Gruntfile.coffee'] gruntfile: ['Gruntfile.coffee']
tasks: ['grunt/**/*.coffee'] tasks: ['grunt/**/*.coffee']

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"chai": "~1.9.1", "chai": "~1.9.1",
"coffeelint": "~1.11.1", "coffeelint": "^1.16.0",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-autoprefixer": "^1.0.1", "grunt-autoprefixer": "^1.0.1",
"grunt-bower-task": "^0.4.0", "grunt-bower-task": "^0.4.0",