@kaizenplatform/prettier-config

Prettier config for Kaizen Platform

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
50Sep 15, 2017Sep 15, 2017Minified + gzip package size for @kaizenplatform/prettier-config in KB

Readme

@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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.