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

@schul-cloud/prettier-config

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schul-cloud/prettier-config

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

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
5
Weekly downloads
 
Created
Source

@schul-cloud/prettier-config

Getting Started

1. Installation

Using npm:

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

Using Yarn:

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

2. Usage

  • Create a new file and name it as prettier.config.js
  • Just import @schul-cloud/prettier-config and export it.
module.exports = require('@schul-cloud/prettier-config');
  • In order to have a .prettierignore file as well, just run the following command from terminal:
  cat ./node_modules/@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('@schul-cloud/prettier-config');
  module.exports = {
    ...prettierConfig,
    // your config options goes here, e.g. printWidth: 80
  }

Keywords

FAQs

Package last updated on 05 Nov 2019

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