   config:
     scalacExecutablePath:
       type: 'string'
-      default: ''
+      default: 'scalac'
     scalacOptions:
       type: 'string'
       default: '-Xlint'

          args.push(classpath)
        args.push(filePath)
        return helpers.exec(command, args, {stream: 'stderr'}).then (output) ->
          regex = 'scala:(?<line>\\d+): (?<type>(error|warning)): (?<message>(.+))'
          return helpers.parse(output, regex, {filePath: filePath})

  provideLinter: ->
    helpers = require 'atom-linter'
    fs = require 'fs'
    regex = 'scala:(?<line>\\d+): (?<type>(error|warning)): (?<message>(.+))'
    provider =
      grammarScopes: ['source.scala']
      scope: 'file'
      lintOnFly: false
      lint: (textEditor) =>
        filePath = textEditor.getPath()
        args = @scalacOptions.split(' ')
        command = atom.config.get 'linter-scalac.scalacExecutablePath'
        if helpers.findFile(filePath, '.classpath')
          dotClasspath = helpers.findFile(filePath, '.classpath')
          classpath = fs.readFileSync(dotClasspath).toString().trim()
