🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@faustt/prettier-config

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faustt/prettier-config

latest
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

@faustt/prettier-config

Consistent code formatting.

Introduction

This is the prettier config used by @faustt projects.

Getting started

Install prettier, typescript and the config as a development dependency:

yarn add -D prettier typescript @faustt/prettier-config

Reference the config in your project:

package.json

{
  "prettier": "@faustt/prettier-config"
}

Add prettier to your vscode recommended extensions:

.vscode/extensions.json

{
  "recommendations": ["esbenp.prettier-vscode"]
}

Plugins

This config comes with some prettier plugins pre-installed:

  • prettier-plugin-organize-imports: Sort imports in JavaScript and TypeScript code
  • prettier-plugin-package: Sort fields in the package.json with an opinionated order
  • prettier-plugin-svelte: Support for svelte files

FAQs

Package last updated on 04 Oct 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