Socket
Book a DemoInstallSign in
Socket

@offchainlabs/prettier-config

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@offchainlabs/prettier-config

Shareable Offchain labs prettier config

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
3
Created
Source

Prettier

Provide reusable prettier config

  • Install the peerDependencies of prettier config:
npx install-peerdeps -Y --dev @offchainlabs/prettier-config
  • Usage

You can extend the configuration in your project:

package.json:

"prettier": "@offchainlabs/prettier-config"

.prettierrc, .prettierrc.yaml , .prettierrc.yml or .prettierrc.json

"@offchainlabs/prettier-config"

prettier.config.js, .prettierrc.js

module.exports = {
  ...require('@offchainlabs/prettier-config'),
  // override here
};

FAQs

Package last updated on 08 Sep 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