0.3.0 ā€¢ Published 1 year ago

@adchitects/prettier-config v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@adchitects/prettier-config

package version badge

Extendable prettier icon configuration, part of the adchitects/configs project.


Prerequisites

node.js version support badge supported prettier version badge

ā„¹ļø This configuration package require these tools to use locally on your device(s):

  1. node.js icon Latest Node.js LTS (Long-Term Support) version
  2. One of Node.js package managers:
    • pnpm icon
    • yarn icon
    • npm icon
  3. Latest prettier icon version

Basic usage

šŸ‘£ Follow the steps below:

  1. Install it with the node.js icon package manager of your choice (in our case, we use pnpm icon).

     pnpm install --save-dev prettier @adchitects/prettier-config

    node.js: https://nodejs.org/en/

    pnpm: https://pnpm.io/

  2. Create an prettier icon - .prettierrc.(c)js.

  3. Extend this module package configuration.

    /** @type import("prettier").Options */
    const config = {
    	...require("@adchitects/prettier-config"),
    };
    
    module.exports = config;

šŸ“– For prettier icon usage, please refer to its documentation (we recommend to use pretty-quick instead, for more human-friendly output and performance).


Used configurations & plugins

Dependencies badge

āš™ļø This configuration module for Prettier loads plugins options conditionally.

Plugins

PluginVersionLoading condition(s)
@prettier/plugin-php@prettier/plugin-php version badgephp or adchitects-php-project in package.json keywords

Security

workflow security badge

šŸ” For more information, please refer to the Security section at the root of the adchitects/configs monorepo.


Contributing

contributors badge

šŸ¤ Contributions of any kind are welcome!

Please refer to the monorepo (adchitects/configs) project's CONTRIBUTING file for more information if you wish to get involved.


License

license badge

āš–ļø For more information, please refer to the License section at the root of the adchitects/configs monorepo.