Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@osskit/prettier-config
Advanced tools
osskit's shareable config for Prettier
Install Prettier and @osskit/prettier-config
:
npm install --save-dev prettier @osskit/prettier-config
osskit's Prettier rules come bundled in @osskit/prettier-config
. To enable these rules, add a prettier
property in your package.json
. See the Prettier configuration docs for more details.
"prettier": "@osskit/prettier-config"
If you don't want to use package.json
, you can use any of the supported extensions to export a string:
// `.prettierrc.json`
"@osskit/prettier-config"
// `prettier.config.js` or `.prettierrc.js`
module.exports = '@osskit/prettier-config';
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('@osskit/prettier-config'),
semi: false
};
FAQs
osskit's shareable config for Prettier
We found that @osskit/prettier-config 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.