https://github.com/mnenie/prettier-config
prettier config - @mnenie/prettier for (.js, .ts, .vue, .jsx, .tsx)
https://github.com/mnenie/prettier-config
npm npm-package prettier prettier-config
Last synced: 2 months ago
JSON representation
prettier config - @mnenie/prettier for (.js, .ts, .vue, .jsx, .tsx)
- Host: GitHub
- URL: https://github.com/mnenie/prettier-config
- Owner: mnenie
- License: mit
- Created: 2024-03-23T13:33:39.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-25T16:41:04.000Z (about 1 year ago)
- Last Synced: 2024-07-01T16:58:31.001Z (11 months ago)
- Topics: npm, npm-package, prettier, prettier-config
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@mnenie/prettier
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.json
- License: LICENSE
Awesome Lists containing this project
README
# Prettier config (@mnenie/prettier) 🔧
[](https://www.npmjs.com/package/@mnenie/prettier) [](https://www.npmjs.com/package/@mnenie/prettier) [](https://github.com/mnenie/prettier-config/blob/master/LICENSE) 
## Installing
1. Use one of these following commands for adding package to your project.
```
// npm
npm install -D @mnenie/prettier// yarn
yarn add -D @mnenie/prettier
```2. After installing, create/update `.prettierrc.cjs` file with content:
```js
// default
const { prettier } = require('@mnenie/prettier');/** @type {import('prettier').Config} */
module.exports = prettier;
```
```js
// with tailwindcss
const { prettier } = require('@mnenie/prettier');/** @type {import('prettier').Config} */
module.exports = {
...prettier,
plugins: ['prettier-plugin-tailwindcss']
};
```