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

@viamrobotics/prettier-config

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viamrobotics/prettier-config

Common Prettier configuration for Viam projects.

  • 0.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
700
decreased by-39.45%
Maintainers
0
Weekly downloads
 
Created
Source

Shared Prettier Config for Viam

This module contains Viam's shared Prettier configurations for Prettier v3.

Base config

Use the base config for vanilla JavaScript / TypeScript projects.

pnpm add --save-dev prettier @viamrobotics/prettier-config
// .prettierrc.cjs
module.exports = '@viamrobotics/prettier-config';

You can also extend the configuration:

// .prettierrc.cjs
const baseConfig = require('@viamrobotics/prettier-config');

export default {
  ...baseConfig,
  // other options here
};

Svelte config

Use the Svelte config for Svelte projects.

pnpm add --save-dev \
  @viamrobotics/prettier-config \
  prettier \
  prettier-plugin-svelte \
  prettier-plugin-tailwindcss
// .prettierrc.cjs
module.exports = '@viamrobotics/prettier-config/svelte';

Keywords

FAQs

Package last updated on 09 Jul 2024

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