[Sugar-devel] js-beautify proper max line length

Daniel Narvaez dwnarvaez at gmail.com
Sat Jun 8 10:10:08 EDT 2013


Yeah would be good to file bugs. The maintainer is quite responsive.


On 8 June 2013 16:02, Manuel Quiñones <manuq at laptop.org> wrote:

> 2013/6/8 Daniel Narvaez <dwnarvaez at gmail.com>:
> > It's pretty bad that js-beautify doesn't have a proper max line length
> > option. I
> > opened a bug about it
> >
> > https://github.com/einars/js-beautify/issues/284
>
> Good.  Except for this bug, I think js-beautify does a very nice job
> for JavaScript code.  For HTML and CSS it needs love.  That's why I'm
> not running it in HTML or CSS of my web activities.
>
> The things I don't like, and I may open bugs for, are:
>
> - it removes empty lines, that are useful for code separation
> - it adds trailing spaces (see
> https://github.com/sugarlabs/sugar-web-template/blob/master/index.html#L11
> )
> - it can do bad indentation after comments (see
> https://github.com/sugarlabs/sugar-web-template/blob/master/index.html#L22
> )
>
> --
> .. manuq ..
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130608/93539c29/attachment.html>


More information about the Sugar-devel mailing list