esformatter icon indicating copy to clipboard operation
esformatter copied to clipboard

ECMAScript code beautifier/formatter

Results 72 esformatter issues
Sort by recently updated
recently updated
newest added

Would be nice to have this: ``` var options = { dothings: true, // extremely important numberofthings: 10000, // yeah! dontscrewup: true, // also important } ``` Map to this:...

plugins-wishlist

I like having a space on the top and bottom of my functions (both declaration and expression), but not when I use anonymous functions, like in timeouts or array methods,...

plugins-wishlist

I think we should replace esprima with [acorn_loose](https://github.com/marijnh/acorn#acorn_loosejs), that way we can support ES6 features and also format files that contain JS errors.. this is a better behavior than simply...

enhancement
feature

It would be awesome if we were be able to configure the formatter via a JSCS configuration variable or file

feature
plugins-wishlist

Considering recent discussion about dropping the concept of presets in favor of plugins, and since there is just the one non-default preset, I'm proposing to extract the jQuery preset into...

plugins-wishlist
plugin

this feature request came up on IRC a couple days ago, basically so you don't need to write a config file and can start working on legacy projects. this should...

feature
low priority

One of the ways similar tools get immediate exposure and traction is by having a web page showing off their basic functionality. For example, https://github.com/einars/js-beautify has http://jsbeautifier.org/ . Github makes...

task
high priority

right now, comments have a special behavior on `lineBreak` rules; for instance if we have the settings `lineBreak.after.IfStatementOpeningBrace = 1`, `lineBreak.before.LineComment = -1` and the input: ``` js if (foo)...

feature

I searched for similar solutions on npm but gave up and ended up implementing my own solution.. but I guess this should be a separate package with dedicated tests, docs,...

enhancement
low priority

the kind of logic that we have on https://github.com/millermedeiros/esformatter/blob/master/lib/plugins.js can be useful for other projects, maybe we should abstract it and convert it into a dedicated package.

enhancement
low priority