https://github.com/m-sureshraj/prettier-config
⚙️ Shared Prettier config for my projects
https://github.com/m-sureshraj/prettier-config
prettier-config shared
Last synced: about 1 month ago
JSON representation
⚙️ Shared Prettier config for my projects
- Host: GitHub
- URL: https://github.com/m-sureshraj/prettier-config
- Owner: m-sureshraj
- Created: 2020-09-21T01:34:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-23T08:58:31.000Z (7 months ago)
- Last Synced: 2025-08-08T22:51:10.488Z (2 months ago)
- Topics: prettier-config, shared
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prettier-config
Shared [Prettier](https://prettier.io/) config for my projects.## Install
```
npm install -D @sureshraj/prettier-config
```## Usage
A `prettier` key in your `package.json` file.```json
{
"prettier": "@sureshraj/prettier-config"
}
```#### OR
Use the `prettier.config.js` file if you need to extend
the configuration to overwrite some properties from
the shared configuration. Refer to the [official guide](https://prettier.io/docs/en/configuration.html#sharing-configurations)
for more information.```javascript
// prettier.config.js
const sharedConfig = require('@sureshraj/prettier-config');
module.exports = {
...sharedConfig,
semi: false,
};
```