
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
prettier-quick
Advanced tools
[](https://github.com/prettier/prettier) [](https://npmjs.org/prettier-quick)
prettier-quickGet Prettier Quick
Runs Prettier on your changed files.
Supported source control managers:
With yarn:
yarn add --dev prettier prettier-quick
With npm:
npm install --save-dev prettier prettier-quick
You can run prettier-quick as a pre-commit hook using husky.
For Mercurial have a look at
husky-hg
With yarn:
yarn add --dev lint-staged husky
With npm:
npm install --save-dev lint-staged husky
In package.json, add:
{
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,json,css,less,scss,html,md,vue,jsx}": [
"./node_modules/.bin/prettier --config ./node_modules/prettier-quick/.prettierrc --write",
"git add"
]
},
}
prettier-quick will respect your .prettierrc, .prettierignore, and .editorconfig files, so there's no additional setup required. Configuration files will be found by searching up the file system. .prettierignore files are only found from the repository root and the working directory that the command was executed from.
FAQs
[](https://github.com/prettier/prettier) [](https://npmjs.org/prettier-quick)
The npm package prettier-quick receives a total of 43,074 weekly downloads. As such, prettier-quick popularity was classified as popular.
We found that prettier-quick 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.