This package has been deprecated

Author message:

This package is no longer in use at WebDevStudios and will no longer be maintained.

@webdevstudios/prettier-config-coding-standards

1.0.1 • Public • Published

WebDevStudios. WordPress for big brands.

Dynamic Prettier Configuration Loader for WebDevStudios CSS, JavaScript, and/or PHP Coding Standards

This package gets installed automatically when you install any of the WebDevStudios coding standard packages and will automatically configure prettier for you if you set package.json's prettier setting to:

"prettier": "@webdevstudios/prettier-config-coding-standards"

How to Install

Install @webdevstudios/css-coding-standards, @webdevstudios/js-coding-standards, or webdevstudios/php-coding-standards and this package will be included automatically.

Changelog

1.0.1

  • Patch to fix issue where the final config for prettier set to @webdevstudios/prettier-config-coding-standards combines JS, CSS, and PHP properly

In the previous version these were not getting combined properly, instead the last config to load (via npm) would take the cake, and be the final config. This worked fine when JS was the only config, but if you installed PHP or CSS configs, they could likely end up being the final config breaking auto-formatting.

This new method takes the @webdevstudios/prettier-config-(php|js|css)-coding-standards modules and, depending on if they are installed, takes the overrides setting in each and merges them into modules.exports for @webdevstudios/prettier-config-coding-standards.

1.0.0

This version simply loads prettier configurations for css, js, and/or php if they are installed.

Readme

Keywords

none

Package Sidebar

Install

npm i @webdevstudios/prettier-config-coding-standards

Weekly Downloads

0

Version

1.0.1

License

GPL-2.0-or-later

Unpacked Size

3.69 kB

Total Files

3

Last publish

Collaborators

  • ravewebdev
  • jrfoell
  • gregrickaby
  • bradwilliams
  • aubreypwd