
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
prettier-config-smarthr
Advanced tools
A sharable prettier config for SmartHR.
prettier-config-smarthr is available as an npm package.
// with npm
npm install --save-dev prettier-config-smarthr
// with yarn
yarn add --dev prettier-config-smarthr
Edit package.json
.
{
"name": "your project",
"prettier": "prettier-config-smarthr"
}
If you don’t want to use package.json
, you can use any of the supported extensions to export a string, e.g. .prettierrc.json
:
"prettier-config-smarthr"
Check here for details : https://prettier.io/docs/en/configuration.html
Create .prettierrc.js
, import the file in a .prettierrc.js
file and export the modifications.
module.exports = {
...require("prettier-config-smarthr"),
"arrowParens": "avoid",
};
FAQs
A sharable prettier config for SmartHR
The npm package prettier-config-smarthr receives a total of 5,399 weekly downloads. As such, prettier-config-smarthr popularity was classified as popular.
We found that prettier-config-smarthr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.