Closed huntout closed 8 years ago
did you install esformatter
globally? npm install -g esformatter
yes, I have installed esformatter
glabally too.
i have the same problem console shows this error
error: Error (1):Unable to format
I have resolved it.
cd "Sublime Text 3 x64\Data\Packages\EsFormatter\lib"
npm i -S esformatter esformatter-add-trailing-commas esformatter-quotes
npm run prepublish
@hugomrdias I had the same issue. Try adding the plugins that your .esformatter file declares to ~/Library/Application Support/Sublime Text 3/Packages/EsFormatter/lib
by using npm i -S <package-name>
then npm run prepublish
As of 2.0.0
the plugin uses the local/global version of esformatter, it should be easier to configure your plugins.
my
.esformatter
filemy
package.json
fileIt seems the plugins not work.