       Regular: new WeakSet
       Fly: new WeakSet
     @emitter = new Emitter
+    @subscriptions = new CompositeDisposable
+    @subscriptions.add @emitter
+    @subscriptions.add atom.config.observe('linter.batchUpdateMessages', (value) =>
+      @batchUpdateMessages = value
+    )
 
   getLinters: ->
     return @linters.slice() # Clone the array

{Emitter} = require('atom')
validate = require('./validate')
helpers = require('./helpers')


    return @emitter.on('did-update-messages', callback)

  dispose: ->
    @subscriptions.dispose()
    # Intentionally set it to empty array instead of null 'cause this would
    # disallow further execution, while still not throwing errors in current one
    @linters = []

module.exports = LinterRegistry
