forked from nordtheme/hyper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
43 lines (40 loc) · 1.03 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title Project Gulp File +
project nord-hyper +
repository https://github.com/arcticicestudio/nord-hyper +
author Arctic Ice Studio +
email [email protected] +
copyright Copyright (C) 2017 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[References]
Gulp
(http://gulpjs.com)
npmjs
(https://www.npmjs.com)
*/
/*+---------+
+ Imports +
+---------+*/
const gulp = require("gulp-help")(require("gulp"));
const eslint = require("gulp-eslint");
/*+-------+
+ Tasks +
+-------+*/
/**
* Shows the help.
*
* @since 0.1.0
*/
gulp.task("default", ["help"]);
/**
* Lints the color theme index file.
*
* @since 0.1.0
*/
gulp.task("lint", "Lints the color theme index file", () => {
return gulp.src("index.js")
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});