 
 class Linter
   constructor:(@state)  ->
-    @state ?= {}
+    @state ?= {scope: 'File'}
 
     # Public Stuff
     @lintOnFly = true # A default art value, to be immediately replaced by the observe config below

  getMessages: ->
    return @messages.getAll()

  onDidChangeMessages: (callback)->
    return @messages.onDidChange(callback)

  # Classify as in sort
  onDidClassifyMessages: (callback)->
    return @messages.onDidClassify(callback)

  onDidChangeProjectMessages: (callback) ->

    @linters = new Set # Values are pushed here from Main::consumeLinter

    @messages = new Messages(this)
    @views = new LinterViews this
    @commands = new Commands this

    @subscriptions.add atom.config.observe 'linter.lintOnFly', (value) =>
      @lintOnFly = value
    @subscriptions.add atom.project.onDidChangePaths =>
      @commands.lint()
    @subscriptions.add atom.workspace.onDidChangeActivePaneItem =>
      @commands.lint()

    @subscriptions.add atom.workspace.observeTextEditors (editor) =>
      currentEditorLinter = new EditorLinter @, editor
