
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@amedia/prettier-config
Advanced tools
The Prettier configuration for JavaScript / YAML / JSON / Markdown.
This probes for features and loads plugins when necessary.
Note that from kragl v4 onwards, only esm config files and syntax are supported.
npm install --save-dev @amedia/prettier-config prettier
After installing the deps, update your Prettier config file, e.g.
prettier.config.js:
export { default } from '@amedia/prettier-config';
The prettier pluggin for vscode esbenp.prettier-vscode, uses its included version of prettier as default. If this version uses CommonJS (require syntax) instead of ESModule (export syntax), prettier will fail with an error like:
require() of ES Module [...] not supported
To fix this issue, set the path to the prettier instance for VS code, to point to the prettier package in the current VS code repo:
"prettier.prettierPath": "./node_modules/prettier",
FAQs
Prettier config for Amedia
We found that @amedia/prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 88 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.