Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@cprussin/prettier-config
Advanced tools
@cprussin/prettier-config v2.1.1 • Docs
This package contains a prettier config. It's empty right now, and only exists to be a convenient place to add configs in the future if I ever need to such that I'll apply them consistently across my projects.
Use the package manager of your choice to install:
npm install --save-dev @cprussin/prettier-config
pnpm add -D @cprussin/prettier-config
yarn add -D @cprussin/prettier-config
Just export the config from your prettier config file. For example, in
prettier.config.js
:
export { base as default } from "@cprussin/prettier-config";
If you want to combine configs or take the base config and extend it you use
mergeConfigs
, like so:
import { base, tailwind, mergeConfigs } from "@cprussin/prettier-config";
export default mergeConfigs([
base,
tailwind('./tailwind.config.js'),
{ someSetting: "some-value" }
]);
FAQs
A shared prettier config (currently empty)
The npm package @cprussin/prettier-config receives a total of 215 weekly downloads. As such, @cprussin/prettier-config popularity was classified as not popular.
We found that @cprussin/prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.