Gathering detailed insights and metrics for gulp-byo-jslint
Gathering detailed insights and metrics for gulp-byo-jslint
npm install gulp-byo-jslint
Typescript
Module System
Node Version
NPM Version
64
Supply Chain
88
Quality
69.7
Maintenance
50
Vulnerability
98.1
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,566
Last Day
1
Last Week
1
Last Month
19
Last Year
168
Apache-2.0 License
16 Stars
4 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Apr 14, 2019
Minified
Minified + Gzipped
Latest Version
1.1.1
Package Id
gulp-byo-jslint@1.1.1
Size
6.10 kB
NPM Version
3.3.12
Node Version
5.5.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-83.3%
1
Compared to previous week
Last Month
72.7%
19
Compared to previous month
Last Year
42.4%
168
Compared to previous year
3
A bring-your-own JSLint plugin for Gulp.
Yes there is, but it is not awesome. It breaks on the first violation instead of enumerating all warnings, hasn't been updated in a very long time and doesn't support the latest version of JSLint.
Bring-your-own copy of jslint.js
, quite literaly. This plugin wont work
without it.
The use of git submodules is highly
recommended for this. No need to to wait for updates to gulp-byo-jslint
for
new versions of JSLint. Just git pull
in the submodule directory. What better
way to stay on the bleeding edge?
md submodules
cd submodules
git submodule add https://github.com/douglascrockford/JSLint.git
No editions prior to 2015-05-01 will work with this plugin. The JSLint interface changed significantly at that time (all for the better), so there is no going back.
Any current edition of JSLint should work fine.
npm install gulp-byo-jslint --save-dev
1'use strict'; 2 3var gulp = require('gulp'); 4var jslint = require('gulp-byo-jslint'); 5var paths = [ 6 './**/*.js', // Include all JavaScript files 7 './**/*.json', // Include all JSON files 8 '!./node_modules/**', // Exclude NPM 9 '!./bower_components/**', // Exclude Bower 10 '!./submodules/**' // Exclude Git submodules 11]; 12 13function runJSLint(noFail) { 14 return gulp.src(paths) 15 .pipe(jslint({ 16 // The file path to jslint.js. 17 jslint: './submodules/JSLint/jslint.js', 18 19 // The options to pass to JSLint. 20 options: { 21 browser: true 22 }, 23 24 // The list of known global variables to pass to JSLint. 25 globals: ['define', 'require'], 26 27 // True to log all warnings without failing. 28 noFail: noFail 29 })); 30} 31 32gulp.task('lint', function () { 33 return runJSLint(); 34}); 35 36gulp.task('lint-watch', function () { 37 return runJSLint(true); 38}); 39 40gulp.task('watch', function () { 41 gulp.watch(paths, ['lint-watch']); 42});
For more information about the switches available on the options
property,
please see JSLint help.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/4 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
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-02-10
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