Skip to content

kaizenplatform/kaizen-prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

module.exports = require('@kaizenplatform/prettier-config');

Customizing use-case:

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.

About

Prettier config preset for Kaizen Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published