Nukem's Possible Manifestation

    @jjangga0214/prettier-config

    2.0.3 • Public • Published

    @jjangga0214/prettier-config

    A sharable config package and development environment for prettier.

    Installation

    npm install --save-dev @jjangga0214/prettier-config
    # or
    yarn add --dev @jjangga0214/prettier-config
    # or
    pnpm add --save-dev @jjangga0214/prettier-config

    And you should also install peerDependencies manually. Checkout package.json or npm info.

    # This does not install them all. This just show them on terminal.
    npm info "@jjangga0214/prettier-config@latest" peerDependencies

    Or install them all by install-peerdeps.

    # For npm
    npx install-peerdeps --dev @jjangga0214/prettier-config
    # For yarn
    npx install-peerdeps --yarn --dev @jjangga0214/prettier-config
    # For pnpm
    npx install-peerdeps --pnpm --dev @jjangga0214/prettier-config

    Usage

    package.json:

    {
      "name": "your-cool-library",
      "prettier": "@jjangga0214/prettier-config"
      // Other fields are ommitted for brevity
    }

    Or you can import it into javascript config file.

    .prettierrc.js:

    module.exports = {
      ...require("@jjangga0214/prettier-config"),
      // You can override some fileds
    };

    Development

    Install

    npm i @jjangga0214/prettier-config

    DownloadsWeekly Downloads

    5

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    3.42 kB

    Total Files

    4

    Last publish

    Collaborators

    • jjangga0214