@adchitects/prettier-config v0.3.0
@adchitects/prettier-config
Extendable configuration, part of the adchitects/configs project.
Prerequisites
ā¹ļø This configuration package require these tools to use locally on your device(s):
- Latest Node.js LTS (Long-Term Support) version
- One of Node.js package managers:
- Latest version
Basic usage
š£ Follow the steps below:
Install it with the package manager of your choice (in our case, we use ).
pnpm install --save-dev prettier @adchitects/prettier-config
Create an -
.prettierrc.(c)js
.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
āļø This configuration module for Prettier loads plugins options conditionally.
Plugins
Plugin | Version | Loading condition(s) |
---|---|---|
@prettier/plugin-php | php or adchitects-php-project in package.json keywords |
Security
š For more information, please refer to the Security section at the root of the adchitects/configs monorepo.
Contributing
š¤ 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
āļø For more information, please refer to the License section at the root of the adchitects/configs monorepo.