Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@northone/prettier

Package Overview
Dependencies
Maintainers
20
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@northone/prettier

base prettier.config.js for northone projects

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
20
Created
Source

@northone/prettier

Use NorthOne default prettier config

npx @northone/stan-cli prettier:init

(both install and usage are setup in above command)

Install

npm i -D @northone/prettier

Usage

Create prettier.config.js and put following contents:

module.exports = Object.assign(require('./node_modules/@northone/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 05 Feb 2021

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