@adchitects/prettier-config
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@adchitects/prettier-config

package version badge

Extendable prettier icon Prettier 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:
  3. Latest prettier icon Prettier version

Basic usage

👣 Follow the steps below:

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

     pnpm install --save-dev prettier @adchitects/prettier-config
  2. Create an prettier icon Prettier configuration file - .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 Prettier CLI 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

Plugin Version Loading condition(s)
@prettier/plugin-php @prettier/plugin-php version badge php 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.

Package Sidebar

Install

npm i @adchitects/prettier-config

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

451 kB

Total Files

12

Last publish

Collaborators

  • mateusz.k
  • adchitects-dev