Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.