https://github.com/kaizenplatform/kaizen-prettier-config
Prettier config preset for Kaizen Platform
https://github.com/kaizenplatform/kaizen-prettier-config
Last synced: about 1 year ago
JSON representation
Prettier config preset for Kaizen Platform
- Host: GitHub
- URL: https://github.com/kaizenplatform/kaizen-prettier-config
- Owner: kaizenplatform
- License: mit
- Created: 2017-09-15T05:21:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T08:53:39.000Z (almost 9 years ago)
- Last Synced: 2025-03-26T15:32:46.422Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 5
- Watchers: 26
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @kaizenplatform/prettier-config
## Installation
Install `@kaizenplatform/prettier-config` via npm.
```
$ npm install --save-dev @kaizenplatform/prettier-config
```
## Usage
Import config from `@kaizenplatform/prettier-config` in your `prettier.config.js`
```js
module.exports = require('@kaizenplatform/prettier-config');
```
Customizing use-case:
```js
const defaultOptions = require('@kaizenplatform/prettier-config');
module.exports = Object.assign({}, defaultOptions, {
semi: false,
overrides: [
{
files: '*.test.js',
options: {
semi: true,
},
},
],
});
```
## Developing
The definition of prettier options is in `index.js`. You can send PR to edit it.
**Every option which is different to default should have its reasons.**