Gathering detailed insights and metrics for gulp-lesshint
Gathering detailed insights and metrics for gulp-lesshint
Gathering detailed insights and metrics for gulp-lesshint
Gathering detailed insights and metrics for gulp-lesshint
npm install gulp-lesshint
Typescript
Module System
Node Version
NPM Version
48.3
Supply Chain
65.5
Quality
67.6
Maintenance
50
Vulnerability
97.1
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
14 Stars
149 Commits
4 Forks
3 Watching
16 Branches
6 Contributors
Latest Version
6.1.0
Package Id
gulp-lesshint@6.1.0
Unpacked Size
11.14 kB
Size
3.99 kB
File Count
6
NPM Version
6.9.0
Node Version
11.12.0
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
5
1npm install gulp-lesshint --save-dev
1const gulp = require('gulp'); 2const lesshint = require('gulp-lesshint'); 3 4gulp.task('lint', () => { 5 return gulp.src('./src/*.less') 6 .pipe(lesshint({ 7 // Options 8 })) 9 .pipe(lesshint.reporter('reporter-name')) // Leave empty to use the default, "stylish" 10 .pipe(lesshint.failOnError()) // Use this to fail the task on lint errors 11 .pipe(lesshint.failOnWarning()); // Use this to fail the task on lint warnings 12});
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.
1file.lesshint.success = true; // or false 2file.lesshint.resultCount = 0; // number of results returned by lesshint 3file.lesshint.results = []; // lesshint results
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/25 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More