
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@aniftyco/prettier
Advanced tools
Standardized code formatting via Prettier config for NiftyCo projects
Standardized code formatting via Prettier config for NiftyCo projects.
npm install --save-dev @aniftyco/prettier
Reference @aniftyco/prettier
in your package.json
:
{
"name": "my-nifty-app",
"version": "1.2.4",
"prettier": "@aniftyco/prettier"
}
If you don't want to use package.json
, you can use any of the supported extensions to export a string:
// `.prettierrc.json`
"@aniftyco/prettier"
// `prettier.config.js` or `.prettierrc.js`
module.exports = '@aniftyco/prettier';
This configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. Prettier does not offer an "extends" mechanism as you might be familiar from tools such as ESLint.
To extend a configuration you will need to use a prettier.config.js
or .prettierrc.js
file that exports an object:
module.exports = {
...require('@aniftyco/prettier'),
semi: false,
};
FAQs
Standardized code formatting via Prettier config for NiftyCo projects
We found that @aniftyco/prettier demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.