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 - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

dist/base.d.cts

22

package.json

@@ -6,3 +6,3 @@ {

},
"version": "0.0.2",
"version": "0.1.0",
"description": "Common Prettier configuration for Viam projects.",

@@ -13,7 +13,11 @@ "files": [

],
"types": "./base.d.cts",
"types": "./dist/base.d.cts",
"exports": {
".": {
"types": "./base.d.cts",
"types": "./dist/base.d.cts",
"default": "./base.cjs"
},
"./svelte": {
"types": "./dist/svelte.d.cts",
"default": "./svelte.cjs"
}

@@ -35,4 +39,14 @@ },

"peerDependencies": {
"prettier": ">=2 <3"
"prettier": ">=2 <3",
"prettier-plugin-svelte": ">=2 <3",
"prettier-plugin-tailwindcss": ">=0.4.0 <0.5"
},
"peerDependenciesMeta": {
"prettier-plugin-svelte": {
"optional": true
},
"prettier-plugin-tailwindcss": {
"optional": true
}
}
}

@@ -6,3 +6,3 @@ # Shared Prettier Config for Viam

```shell
npm install --save-dev prettier @viamrobotics/prettier-config
pnpm add --save-dev prettier @viamrobotics/prettier-config
```

@@ -13,5 +13,5 @@

### Base config
## Base config
Use the [base config](./base.cjs) for React, Vue, and vanilla JavaScript / TypeScript projects.
Use the [base config](./base.cjs) for vanilla JavaScript / TypeScript projects.

@@ -38,1 +38,20 @@ ```js

```
## Svelte config
Use the [Svelte config](./svelte.cjs) for Svelte projects.
```shell
pnpm add --save-dev \
prettier \
@viamrobotics/prettier-config \
prettier-plugin-svelte \
prettier-plugin-tailwindcss
```
```js
// .prettierrc.cjs
'use strict';
module.exports = '@viamrobotics/prettier-config/svelte';
```
base.d.cts
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