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

@viamrobotics/prettier-config

Package Overview
Dependencies
Maintainers
6
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.1.2
  • Source
  • npm
  • Socket score

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

Shared Prettier Config for Viam

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

pnpm add --save-dev prettier @viamrobotics/prettier-config

Base config

Use the base config for vanilla JavaScript / TypeScript projects.

// .prettierrc.cjs
'use strict';

module.exports = '@viamrobotics/prettier-config';

You can also extend the configuration:

// .prettierrc.cjs
'use strict';

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

module.exports = {
  ...baseConfig,
  // other options here
};

Svelte config

Use the Svelte config for Svelte projects.

pnpm add --save-dev \
  prettier \
  @viamrobotics/prettier-config \
  prettier-plugin-svelte \
  prettier-plugin-tailwindcss
// .prettierrc.cjs
'use strict';

module.exports = '@viamrobotics/prettier-config/svelte';

Keywords

FAQs

Package last updated on 09 Aug 2023

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