Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@bedrockstreaming/prettier-config
Advanced tools
This package shares BedrockStreaming's Prettier configuration independently.
We usually duplicate the Prettier configuration in every project that uses @bedrockstreaming/eslint-config
by adding a .prettierrc
file. This is especially necessary when using the Visual Studio Code plugin for Prettier which needs to know the configuration to properly format files. But eslint-tools
directly embed Prettier's settings in the ESLint configuration preventing the plugin from getting it.
So this package allows you to avoid duplicating the few Prettier's rules in your projects.
npm install --save-dev @bedrockstreaming/prettier-config
yarn add -D @bedrockstreaming/prettier-config
The simplest usage is to add the following line in the package.json
file.
"prettier": "@bedrockstreaming/prettier-config",
This method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js
file and export the modifications, e.g:
module.exports = {
...require('@company/prettier-config'),
semi: false,
};
FAQs
Bedrock Streaming's Prettier config
The npm package @bedrockstreaming/prettier-config receives a total of 10 weekly downloads. As such, @bedrockstreaming/prettier-config popularity was classified as not popular.
We found that @bedrockstreaming/prettier-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.