Files
Dan Bucholtz 4c57873c09 chore(build): move to rollup for e2e, move to es6 imports and type definitions
move to rollup for e2e, move to es6 imports and type definitions
2016-09-20 01:02:39 -05:00

25 lines
507 B
TypeScript

import { task, src } from 'gulp';
import * as scsslint from 'gulp-scss-lint';
import * as tslint from 'gulp-tslint';
task('lint', ['lint.sass', 'lint.ts']);
task('lint.ts', () => {
return src([
'src/**/*.ts'
]).pipe(tslint({
formatter: 'verbose'
}))
.pipe(tslint.report());
});
task('lint.sass', function() {
return src([
'src/**/*.scss',
'!src/components/*/test/**/*',
'!src/util/test/*'
])
.pipe(scsslint())
.pipe(scsslint.failReporter());
});