#35007: Add prettier to format CSS and JS
-------------------------------------+-------------------------------------
     Reporter:  Tom Carrick          |                    Owner:  Tom
         Type:                       |  Carrick
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Other)         |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tom Carrick):

 We can have some discussion about whether ESLint's formatting rules are
 enough, but I don't think they are. For example, they don't seem to catch
 obvious whitespace issues (whitespace only lines in SelectFilter2.js,
 whitespace at end of line in RelatedObjectLookups.js I found in the first
 two files I opened, so there are probably others).

 It was suggested in the forum post to use ESLint only for linting, and use
 prettier for formatting, and I think this is a good idea.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35007#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c214965ad-22cb2443-11fc-403e-a13d-e117f034806a-000000%40eu-central-1.amazonses.com.

Reply via email to