Socket
Socket
Sign inDemoInstall

@hmfinancial/prettier

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmfinancial/prettier

base prettier.config.js for hmfinancial projects


Version published
Maintainers
1
Created
Source

@hmfinancial/prettier

Use hmfinancial default prettier config

npx @hmfinancial/stan-cli prettier:init

(both install and usage are setup in above command)

Install

npm i -D @hmfinancial/prettier

Usage

Create prettier.config.js and put following contents:

module.exports = Object.assign(require('./node_modules/@hmfinancial/prettier/prettier.config'), {
  // custom config
})

Learn more about prettier config at Prettier - Configuration File

Configuration
module.exports = {
  printWidth: 120,
  tabWidth: 2,
  useTabs: false,
  semi: false,
  singleQuote: true,
  trailingComma: 'all',
  bracketSpacing: false,
  jsxBracketSameLine: false,
  arrowParens: 'avoid',
  rangeStart: 0,
}

FAQs

Package last updated on 23 Jan 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc