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.
gulp-nf-prettier
Advanced tools
A Gulp plugin to run Prettier on your code base.
Stands for the Netflix fork of gulp-pretter. We had certain requirements for the plugin so we forked it for ourselves.
Prettier is a peer dependency of gulp-nf-prettier
. That means you can upgrade Prettier independent of this plugin since the API shouldn't change too much. This also means that you should use their docs to see how to utilize the library.
This plugin has the ability to be run in a CI environment. Pass the check
flag in the options and if any file hasn't been run through prettier with your options it will error, letting you fail your build.
gulp
.src(glob, { base: './' })
.pipe(prettier({
printWidth: 120,
tabWidth: 2,
parser: 'flow',
singleQuote: true,
trailingComma: 'es5',
bracketSpacing: true,
jsxBracketSameLine: true,
check: true
})
Forked from Bhargav Patel. Credit to him to getting the ball rolling. Credit to the Gulp team. Consider donating to them. Credit to James Long for an amazing library. Hire him for contract work.
3.0.0 (2019-03-21)
af1a07c
)FAQs
Create vinyl streams to pipe to prettier
The npm package gulp-nf-prettier receives a total of 39 weekly downloads. As such, gulp-nf-prettier popularity was classified as not popular.
We found that gulp-nf-prettier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.