forked from nordtheme/tilix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
39 lines (35 loc) · 827 Bytes
/
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
/*
* Copyright (c) 2016-present Arctic Ice Studio <[email protected]>
* Copyright (c) 2016-present Sven Greb <[email protected]>
* Project: Nord Tilix
* Repository: https://github.com/arcticicestudio/nord-tilix
* License: MIT
* References:
* http://gulpjs.com
* https://www.npmjs.com
*/
/*+---------+
+ Imports +
+---------+*/
const gulp = require("gulp-help")(require("gulp"));
const eslint = require("gulp-eslint");
/*+-------+
+ Tasks +
+-------+*/
/**
* Shows the help.
*
* @since 0.2.0
*/
gulp.task("default", ["help"]);
/**
* Lints the color theme JSON file.
*
* @since 0.2.0
*/
gulp.task("lint", "Lints the color theme JSON file", () => {
return gulp.src("./src/json/nord.json")
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});