0.1.1 • Published 8 years ago

velocity-lint v0.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

velocity-lint

check the template file of velocity. show tips when using the variable without "!"

Installation

Install package with NPM and add it to your development devpendencies:

npm install --save-dev velocity-lint

Usage

var gulp = require('gulp');
var vm = require('velocity-lint');

gulp.task('vm', function () {
    return gulp.src('src/**/*.vm')
        .pipe(vm(options))
})

Options

  • ignore pass an array if you wish to ignore some variable