Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@leather.io/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leather.io/prettier-config

Shared prettier configuration

latest
Source
npmnpm
Version
0.9.0
Version published
Weekly downloads
63
-25%
Maintainers
1
Weekly downloads
 
Created
Source

Leather prettier config

This package is the prettier configuration for Leather

Shared prettier configuration

prettier is used to auto format code in many language formats (js, ts, tsx, md, json, yaml).

Contents

  • Setup
  • Usage
  • License

Setup

  • Install as a dev dependency in packages / apps:
pnpm install -D @leather.io/prettier-config
  • Add prettier configuration file:

    // .prettierrc.js
    import defaultConfig from '@leather.io/prettier-config';
    
    export default { ...defaultConfig };
    
  • Add prettier ignore patterns file:

    # .prettierignore
    
    node_modules/
    
    # Custom ignore patterns
    ...
    
  • Add prettier scripts:

    // package.json
    
    "scripts": {
      "format": "prettier --write \"*.{js,jsx,ts,tsx}\"",
      ...
    }
    

Usage

  • Manual usage from command line:

    npm run format
    

License

MIT © Leather Wallet LLC

⬅ Back

Keywords

leather

FAQs

Package last updated on 14 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts