Coffeelint에서 내게 암시적인 괄호가 있다고 알려줍니다. 이 오류의 원인을 찾으려고합니다. ((factory) ->
if typeof module == 'object' and module.exports
module.exports = factory
else
factory(Highcharts)
return
나는 나의 커피 파일에 4 공간 들여 쓰기를 가지고 있고 그 컴파일하고 때 나는 점점 오류 : CoffeeLint : YourFile.coffee 컴파일 실패 : CoffeeLint : 라인이 일치하지 않는 들여 쓰기를 포함 context : Expected 2 got 4 실제로 http://www.coffeelint.org/은 들여 쓰기를 구성하는 옵션을
jQuery와 통합되었을 때 잘 작동하는 간단한 CoffeeScript 코드가 있습니다. 도구를 확인 그러나 coffee-lint 코드는 coffeelint file.coffee 암시 중괄호가 금지되어 다음과 같은 오류를 보여줍니다. 내 코드에서 오류가 발생한 원인 $ ->
$("#selector").dialog
modal: true