npm install gulp-sass
var gulp = require('gulp'); gulp.task('default', function(){ console.log("hello, gulp!"); }); gulp.task('styles', function(){ gulp.src('sass/**/*.scss') .pipe(sass().on('error', sass.logError)) .pipe(gulp.dest('./css')); }); gulp.task('default', function(){ gulp.watch('sass/**/*.scss',['styles']); });
Linting is the process of running a program that will analyse code for potential errors.
ESLint
[vagrant@localhost rss24]$ sudo npm install -g eslint
span:inline
div:block
parameter
?name=value
fragment
#fragment