@stardust-configs/prettier-config

    0.1.1 • Public • Published

    @stardust-configs/prettier-config

    Shareable Prettier config

    Install

    $ npm install @stardust-configs/prettier --save-dev

    Usage

    Edit .prettierrc.

    "@stardust-configs/prettier-config"

    Override

    Override .prettierrc.js.

    module.exports = {
      ...require('@stardust-configs/prettier-config'),
      printWidth: 80,
    }

    Publish a new version

    # Write token to .env file
    $ echo "CONVENTIONAL_GITHUB_RELEASER_TOKEN=\"[GITHUB_TOKEN]\"" > .env
    
    # Bump version
    $ yarn run version
    
    # Push to GitHub
    $ git push --follow-tags origin master
    
    # Create a new release
    $ yarn release
    
    # Publish to npm
    $ npm publish

    Author

    @p-chan

    License

    MIT


    Inspired by azz/prettier-config

    Install

    npm i @stardust-configs/prettier-config

    DownloadsWeekly Downloads

    11

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    2.49 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar