
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
gulp-lesshint
Advanced tools
npm install gulp-lesshint --save-dev
const gulp = require('gulp');
const lesshint = require('gulp-lesshint');
gulp.task('lint', () => {
return gulp.src('./src/*.less')
.pipe(lesshint({
// Options
}))
.pipe(lesshint.reporter('reporter-name')) // Leave empty to use the default, "stylish"
.pipe(lesshint.failOnError()) // Use this to fail the task on lint errors
.pipe(lesshint.failOnWarning()); // Use this to fail the task on lint warnings
});
configPath
.lesshintrc
file.maxWarnings
lesshint.failOnError()
error
.lesshint.failOnWarning()
warning
.NOTE: this does not respect the maxWarnings
option.If no reporter name is passed, the default lesshint-reporter-stylish
will be used which just prints everything with different colors.
If you wish to specify your own, please refer to the lesshint reporter loading steps
for the exact logic.
The following properties will be added to the file
object.
file.lesshint.success = true; // or false
file.lesshint.resultCount = 0; // number of results returned by lesshint
file.lesshint.results = []; // lesshint results
6.1.0 (2019-03-31)
failOnWarning
method.FAQs
Lint your .less files from Gulp with lesshint.
The npm package gulp-lesshint receives a total of 1,616 weekly downloads. As such, gulp-lesshint popularity was classified as popular.
We found that gulp-lesshint 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.