💄 more lint rules

Esse commit está contido em:
Desmond Brand
2014-08-15 15:55:22 -07:00
commit 6b5d16173b
4 arquivos alterados com 13 adições e 3 exclusões
+10
Ver Arquivo
@@ -4,5 +4,15 @@
},
"no_empty_param_list": {
"level": "error"
},
"arrow_spacing": {
"level": "warn"
},
"line_endings": {
"level": "error",
"value": "unix"
},
"no_interpolation_in_single_quotes": {
"level": "error"
}
}
+1 -1
Ver Arquivo
@@ -459,7 +459,7 @@ class Atom extends Model
#
# This is done in a next tick to prevent a white flicker from occurring
# if called synchronously.
displayWindow: ({maximize}={})->
displayWindow: ({maximize}={}) ->
setImmediate =>
@show()
@focus()
+1 -1
Ver Arquivo
@@ -74,7 +74,7 @@ class AutoUpdateManager
getState: ->
@state
check: ({hidePopups}={})->
check: ({hidePopups}={}) ->
unless hidePopups
autoUpdater.once 'update-not-available', @onUpdateNotAvailable
autoUpdater.once 'error', @onUpdateError
+1 -1
Ver Arquivo
@@ -150,7 +150,7 @@ class Token
scopeClasses = scope.split('.')
_.isSubset(targetClasses, scopeClasses)
getValueAsHtml: ({hasIndentGuide})->
getValueAsHtml: ({hasIndentGuide}) ->
if @isHardTab
classes = 'hard-tab'
classes += ' indent-guide' if hasIndentGuide