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.
@ascend-innovations/prettier-config
Advanced tools
[Add cover image here]
Ascend's Prettier config for consistent formatting 💅
prettier.config.js
(or any valid prettier config file) in your project rootpackage.json
under the property "prettier"
:. This makes one less file in your project.The default install will install all required AND optional dependencies. You can safely remove un-needed packages without triggering a peer dependency warning if you aren't consuming the associated configs:
Install it with NPM: npx install-peerdeps --dev @ascend-innovations/prettier-config
Install it with Yarn: npx install-peerdeps --dev @ascend-innovations/prettier-config -Y
\
Use it with no overrides:
module.exports = require('@ascend-innovations/prettier-config')
OR in package.json
"prettier: "@ascend-innovations/prettier-config"
Use it and allow overrides:
module.exports = {
...require('@ascend-innovations/prettier-config')
}
Notes:
If you are using ESLint, you will want to add prettier
as the last item in your extends
array.
Use it: Svelte is a bit finicky with Prettier setups and requires it's own plugin, so we have it as a separate export.
module.exports = {
...require('@ascend-innovations/prettier-config/svelte')
}
OR in package.json
"prettier: "@ascend-innovations/prettier-config/svelte"
FAQs
Ascend's base Prettier config
We found that @ascend-innovations/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.
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.