包详细信息

@solana/prettier-config-solana

steveluscher12.9kMIT0.0.5

Prettier rules to be shared across all Solana Labs projects

prettier, prettierconfig, config, solana

自述文件

Solana Prettier config

Let's share this Prettier config across all of our projects, to keep things consistent.

Installation

  1. Install this package in the target project, along with the required peer dependencies
    pnpx install-peerdeps@2 --pnpm --dev @solana/prettier-config-solana
    
  2. Add a reference to this module in your package.json
    "prettier": "@solana/prettier-config-solana"