@terminal-nerds/prettier-config v0.19.0
@terminal-nerds/prettier-config
Extendable configuration, part of the
terminal-nerds/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 @terminal-nerds/prettier-config
Create an
-
.prettierrc.js
.Extend this module package configuration.
/** @type import("prettier").Options */ const config = { ...import("@terminal-nerds/prettier-config"), }; export default config;
š For prettier icon usage, please refer to its documentation
Used configurations & plugins
āļø This configuration module for Prettier loads plugins options conditionally.
Plugins
Plugin | Version | Loading condition(s) |
---|---|---|
prettier-plugin-astro | astro as dependency | |
prettier-plugin-jsdoc | - | |
prettier-plugin-sort-markdown-table | - | |
prettier-plugin-svelte | svelte as dependency | |
prettier-plugin-tailwindcss | tailwindcss as dependency |
Security
š For more information, please refer to the Security section at the root of the terminal-nerds/configs monorepo.
Contributing
š¤ Contributions of any kind are welcome!
Please refer to the monorepo (terminal-nerds/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 terminal-nerds/configs monorepo.
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago