 
 Beautifier = require('./beautifier')
 prettier = require("prettier")
+path = require("path")
 
 module.exports = class Prettier extends Beautifier
   name: "Prettier"

      else
        reject(new Error("Unknown language for Prettier"))

      filePath = atom.workspace.getActiveTextEditor().getPath()

      try
        prettier.resolveConfig(filePath).then((configOptions) ->

    Markdown: false
  }

  beautify: (text, language, options, context) ->
    return new @Promise((resolve, reject) ->
      _ = require('lodash')

