Completed
Push — master ( 91b2b7...b3d439 )
by Johan
01:09
created

automation/linting.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 9
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A gulp.task(ꞌlintꞌ) 0 6 1
1
var gulp = require('gulp');
2
var eslint = require('gulp-eslint');
3
4
gulp.task("lint", function () {
5
	return gulp.src(['src/**/*.js'])
6
		.pipe(eslint())
7
		.pipe(eslint.format())
8
		.pipe(eslint.failAfterError());
9
});
10