Make WordPress Core

Changeset 57330


Ignore:
Timestamp:
01/23/2024 07:59:22 AM (8 months ago)
Author:
youknowriad
Message:

Build Tools: Configure prettier properly.

Allows tools like prettier or VSCode to auto-format JS files propertly.
It pulls the prettier config that is used in the Gutenberg repository.

Props gziolo.
Fixes #60316.

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r57258 r57330  
    113113                "@wordpress/e2e-test-utils": "10.13.13",
    114114                "@wordpress/e2e-test-utils-playwright": "0.10.13",
     115                "@wordpress/prettier-config": "2.25.13",
    115116                "@wordpress/scripts": "26.13.13",
    116117                "autoprefixer": "10.4.16",
  • trunk/package.json

    r57258 r57330  
    3232        "@wordpress/e2e-test-utils": "10.13.13",
    3333        "@wordpress/e2e-test-utils-playwright": "0.10.13",
     34        "@wordpress/prettier-config": "2.25.13",
    3435        "@wordpress/scripts": "26.13.13",
    3536        "autoprefixer": "10.4.16",
Note: See TracChangeset for help on using the changeset viewer.