Implement prettier.getFileInfo() method and --file-info CLI option (#4341)

* Implement prettier.getFileInfo() method and --file-info CLI option

* Add empty line between functions in index.js

* Support --plugin-search-dirs / pluginSearchDirs() in --file-info / getFileInfo()

* Address review comments by @ikatyang
This commit is contained in:
Alexander Kachkaev authored and Ika committed 2018-05-10 00:53:44 +08:00
1 parent ee96e97c77
commit cc734753fc
13 files changed
+538 -27

No files matched your search

@@ -6,7 +6,8 @@ module.exports = {
languages: [
{
name: "foo",
parsers: ["foo"]
parsers: ["foo"],
extensions: [".foo"]
}
],
parsers: {