Socket
Book a DemoInstallSign in
Socket

@tenonhq/sincronia-prettier-plugin

Package Overview
Dependencies
Maintainers
11
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tenonhq/sincronia-prettier-plugin

Prettier plugin for Sincronia

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
9
-92.91%
Maintainers
11
Weekly downloads
 
Created
Source

@sincronia/prettier-plugin

Overview

This plugin allows you to run Prettier on all supported file types. Supports .prettierrc files.

Installation

npm i -D @sincronia/prettier-plugin

Options

This plugin takes the exact same options as .prettierrc.

Order of Configurations

  • Check for .prettierrc file and load those options
  • Load from sinc.config.js options and override any overlapping values.

Example Usage

This example takes .js files and prettifies them.

//sinc.config.js
module.exports={
  rules:{
    match:/\.js$/,
    plugins:[
      name:"@sincronia/prettier-plugin",
      //Prettier options
      options:{
        //sets tabs to be 2 spaces
        tabWidth:2,
        //append semicolons to ends of lines
        semi:true
      }
    ]
  }
};

You could also create a .prettierrc file with those same options in your project and it would respect those values.

FAQs

Package last updated on 17 Aug 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.