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

@hpi-schul-cloud/prettier-config

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

@hpi-schul-cloud/prettier-config

This package contains shareable Prettier configuration used by the applications created @hpi-schul-cloud.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@hpi-schul-cloud/prettier-config

npm (scoped)

Getting Started

1. Installation

Using npm:

  npm install @hpi-schul-cloud/prettier-config --save-dev

Using Yarn:

  yarn add @hpi-schul-cloud/prettier-config --dev

2. Usage

  • Create a new file and name it as prettier.config.js
  • Just import @hpi-schul-cloud/prettier-config and export it.
module.exports = require('@hpi-schul-cloud/prettier-config');
  • In order to have a .prettierignore file as well, just run the following command from terminal:
  cat ./node_modules/@hpi-schul-cloud/prettier-config/.prettierignore >> .prettierignore

Override Default Config

If you want to override the default configuration, then add the following code in prettier.config.js file:

  const prettierConfig = require('@hpi-schul-cloud/prettier-config');
  module.exports = {
    ...prettierConfig,
    // your config options goes here, e.g. printWidth: 80
  }

Keywords

FAQs

Package last updated on 04 Nov 2020

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