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.
@webdevstudios/prettier-config-js-coding-standards
Advanced tools
Prettier Support/Configuration for WebDevStudios JavaScript Coding Standards.
Install @webdevstudios/js-coding-standards
@webdevstudios/prettier-config-coding-standards
so that you can now set your package.json
prettier
setting to @webdevstudios/prettier-config-coding-standards
which dynamically load all prettier configs for all coding standard packages, depending on what you have installedNote, this patch ensures that the config for JavaScript does not act as a config for example, CSS. But, given that some editor packages may have defaults, you may still get formatting from your editor. But, e.g. prettier --write file.css
won't auto-format CSS code using this config.
See the PR for what JavaScript-ish files we process with this config.
@wordpress/prettier-config
as a base, which currently explicitly uses:{
useTabs: true,
tabWidth: 4,
printWidth: 80,
singleQuote: true,
trailingComma: 'es5',
bracketSpacing: true,
parenSpacing: true,
jsxBracketSameLine: false,
semi: true,
arrowParens: 'always',
}
printWidth
from @wordpress/prettier-config
to be 99000
, pretty big, because we don't explicitly have a rule for this internallybracketSpacing
because @wordpress/prettier-config
doesn't explicity set ithttps://github.com/Automattic/wp-prettier
so we can add parenSpacing
support so ( true )
doesn't get auto-formatted to (true)
FAQs
Prettier Support/Configuration for WebDevStudios JavaScript Coding Standards.
We found that @webdevstudios/prettier-config-js-coding-standards demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
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.