     if config.allowLocalOverride
       localConfig = @getLocalConfig pathTo.sourceFileDir, pathTo.projectPath, {}
       # merge local configs with global. local wins
-      merge config, localConfig
+      @merge config, localConfig
       # recalc paths
       pathTo = @getPaths sourceFile, config
 

      return @isBabelrcInPath path.dirname(fromDir)
    else return false

module.exports = Transpiler

          detail: "File = #{languageBabelCfgFile}\n\n#{fileContent}"
      else
        # merge local config. config closest sourceFile wins
        @merge  jsonContent, localConfig
        localConfig = jsonContent
    if fromDir isnt toDir
      # stop infinite recursion https://github.com/gandm/language-babel/issues/66
