       if not err
         try
           tree.toCSS(
-            ieCompat: @config 'ieCompatibilityChecks'
-            strictUnits: @config 'strictUnits'
-            strictMath: @config 'strictMath'
+            ieCompat: @getConfig 'ieCompatibilityChecks'
+            strictUnits: @getConfig 'strictUnits'
+            strictMath: @getConfig 'strictMath'
           )
         catch toCssErr
           err = toCssErr

    parser = new less.Parser(
      verbose: false
      silent: true
      paths: [@cwd, @config('includePath')...]
      filename: filePath
    )


        position: [[err.line, err.column], [err.line, err.column]]
      ])

  getConfig: (key) ->
    atom.config.get "linter-less.#{key}"

module.exports = LinterLess
