 
 	regexFlags: 'i'
 
-	constructor: () ->
+	constructor: ->
 		@subscriptions = new CompositeDisposable
 
 		@subscriptions.add atom.config.observe 'linter-liferay.lintJS', => @args = @formatArgs()

		regex = XRegExp @regex, @regexFlags

		XRegExp.forEach output, regex, (match, i) =>
			msg =
				filePath: @editor.getPath()
				range: @computeRange match
				type: 'warning'
				text: match.message

			messages.push msg
		, this

		messages


		# Ranges are 0-based
		[
			[--rowStart, --colStart],
			[--rowEnd, --colEnd]
		]

	destroy: ->
