You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@webdevstudios/prettier-config-coding-standards

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdevstudios/prettier-config-coding-standards

Dynamic Configuration Loader for WebDevStudios JavaScript, PHP, and CSS Coding Standards.

1.0.1
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

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.

FAQs

Package last updated on 29 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.