Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@viamrobotics/prettier-config-svelte
Advanced tools
Viam's shared Prettier configuration for Svelte projects.
This module contains Viam's shared Prettier configurations for Prettier v3 in Svelte projects.
Use the Svelte config for Svelte projects.
pnpm add --save-dev prettier @viamrobotics/prettier-config-svelte
// prettier.config.js
export default '@viamrobotics/prettier-config-svelte';
If the project is inside a monorepo, you'll need to specify the path to your Tailwind config.
// prettier.config.js
import path from 'node:path';
import baseConfig from '@viamrobotics/prettier-config-svelte';
/** @satisfies {import('prettier').Config} */
const config = {
...baseConfig,
tailwindConfig: path.join(import.meta.dirname, 'tailwind.config.ts'),
};
export default config;
FAQs
Viam's shared Prettier configuration for Svelte projects.
The npm package @viamrobotics/prettier-config-svelte receives a total of 175 weekly downloads. As such, @viamrobotics/prettier-config-svelte popularity was classified as not popular.
We found that @viamrobotics/prettier-config-svelte demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.