Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@cbschuld/prettier-config
Advanced tools
Readme
My personal prettier config - format influenced by standardjs.com
npm install --save-dev @cbschuld/prettier-config
Next, make sure you edit your package.json
file by adding the reference for prettier
:
{
// ...
"prettier": "@cbschuld/prettier-config"
}
To really enable VS CODE to work well with this configuration make sure you install both Prettier and ESLint.
Next, create a settings.json
file in the .vscode
root path of your project as follows. (Please note: this example contains additional settings I personally enjoy - you can ignore those)
{
"editor.formatOnSave": true, // Tell VSCode to format files on save
"editor.defaultFormatter": "esbenp.prettier-vscode", // Tell VSCode to use Prettier as default file formatter
"editor.formatOnPaste": false,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.exclude": {
"node_modules/": true,
"*/node_modules/": true,
"**/node_modules/": true,
"*/.serverless/": true,
"**/.serverless/": true,
"*/.webpack/": true,
"**/.webpack/": true
},
"prettier.printWidth": 100,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["react", "html", "javascript", "typescript"]
}
FAQs
My personal prettier config - format influenced by standardjs.com
The npm package @cbschuld/prettier-config receives a total of 2 weekly downloads. As such, @cbschuld/prettier-config popularity was classified as not popular.
We found that @cbschuld/prettier-config demonstrated a not healthy version release cadence and project activity because the last version was released 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.