Completed
Pull Request — develop (#110)
by Xaver
01:08
created

gulp/tasks/eslint.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 8
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 8
rs 10
bpm 1
cpm 1
noi 0
1
module.exports = function (gulp, plugins) {
2
  return function eslint() {
3
    return gulp.src(['app.js', 'gulpfile.js', 'lib/**/*.js', 'gulp/**/*.js'])
4
      .pipe(plugins.eslint())
5
      .pipe(plugins.eslint.format())
6
      .pipe(plugins.eslint.failAfterError());
7
  };
8
};
9