New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@syncrona/prettier-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncrona/prettier-plugin

SyncroNow AI build plugin that formats synced files with Prettier (honors .prettierrc and sync.config.js options).

Source
npmnpm
Version
0.9.4
Version published
Weekly downloads
5
-78.26%
Maintainers
1
Weekly downloads
 
Created
Source

@syncrona/prettier-plugin

npmnodelicenseCITypeScript

Overview

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

Installation

npm i -D @syncrona/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 sync.config.js options and override any overlapping values.

Example Usage

This example takes .js files and prettifies them.

//sync.config.js
module.exports={
  rules:{
    match:/\.js$/,
    plugins:[
      name:"@syncrona/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 20 Aug 2026

Related posts