
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
gulp-rb-validate-html
Advanced tools
Gulp plugin to validate HTML files according to Web Frontend Guidelines
#Installation
Install package with NPM and add it to your development dependencies:
npm install gulp-rb-validate-html --save-dev
#Usage
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src('./src/**/*.html')
.pipe(rbhtml());
});
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src(['./src/*.html', './src/app/**/*.html'],
{ base: './src/' })
.pipe(rbhtml());
});
var rbhtml = require('gulp-rb-validate-html');
gulp.task('rb-validate', function () {
gulp.src('./src/**/*.html')
.pipe(rbhtml({
exitOnError: true,
indent: '\t',
checkRemote: false,
checkViewport: false
});
});
#Parameters
This will cause the plugin to abort with exit code 1 as soon as an error with obligation level red is found
Defines the standard indentation pattern for the project
Set to true to activate indentation checks inside HTML tags (between < and >)
Set to false to deactivate indentation checks altogether
Set to false to deactivate all warnings caused by remote resource URLs in HTML code
Set to false if the application is not responsive/for mobile devices
FAQs
Gulp plugin to check HTML files according to web frontend guidelines
We found that gulp-rb-validate-html 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.