[wp-trac] [WordPress Trac] #60316: Build Tools: Configure prettier properly.

WordPress Trac noreply at wordpress.org
Tue Jan 23 09:42:48 UTC 2024


#60316: Build Tools: Configure prettier properly.
------------------------------+--------------------------
 Reporter:  youknowriad       |       Owner:  youknowriad
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.5
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  trivial           |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:  javascript
------------------------------+--------------------------

Comment (by youknowriad):

 > Does adding the Prettier config cause any accidental changes to existing
 files which may not yet 100% adhere to coding standards?

 Well I added it because I had accidental changes caused by me formatting
 files in Core. So in that sense, Core already had a prettier config (as it
 had prettier as a dependency) but it was just using the default one.
 Adding this reduces the risk of accidental changes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60316#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list