Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@matterlabs/prettier-config
Advanced tools
This package provides Matter Labs' shared configuration for Prettier, ensuring a consistent coding style across projects
This package provides Matter Labs' shared configuration for Prettier, ensuring a consistent coding style across projects.
npm i -D @matterlabs/prettier-config
OR
yarn add --dev @matterlabs/prettier-config
Update your package.json
:
{
...
"prettier": "@matterlabs/prettier-config"
...
}
OR
Update your .prettierrc.js
or prettier.config.js
file in the root of your project:
module.exports = {
...require('my-prettier-config'),
// you can override or extend the config here if needed
};
Here's a quick overview of some of the primary rules:
For a detailed list of all rules and configuration details, please refer to the source configuration.
If you find any issues or have suggestions, feel free to open an issue or a pull request in the repository.
This project is licensed under MIT and APACHE 2.0.
FAQs
This package provides Matter Labs' shared configuration for Prettier, ensuring a consistent coding style across projects
The npm package @matterlabs/prettier-config receives a total of 3,205 weekly downloads. As such, @matterlabs/prettier-config popularity was classified as popular.
We found that @matterlabs/prettier-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.