forked from GPII/universal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gruntfile.js
31 lines (26 loc) · 1.14 KB
/
Gruntfile.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
/*!
GPII Universal project Gruntfile
Copyright 2014 RTF-US
Licensed under the New BSD license. You may not use this file except in
compliance with this License.
The research leading to these results has received funding from the European Union's
Seventh Framework Programme (FP7/2007-2013) under grant agreement no. 289016.
You may obtain a copy of the License at
https://github.com/GPII/universal/blob/master/LICENSE.txt
*/
"use strict";
module.exports = function (grunt) {
grunt.initConfig({
lintAll: {
sources: {
md: [ "./*.md","./documentation/*.md", "./examples/**/*.md", "./gpii/**/*.md"],
js: ["!./browserify/**/*.js", "./gpii/**/*.js", "./tests/**/*.js", "./examples/**/*.js", "*.js"],
json: ["./gpii/**/*.json", "./tests/**/*.json", "./testData/**/*.json", "./*.json"],
json5: ["./gpii/**/*.json5", "./tests/**/*.json5", "./testData/**/*.json5", "./*.json5"],
other: ["./.*"]
}
}
});
grunt.loadNpmTasks("gpii-grunt-lint-all");
grunt.registerTask("lint", "Perform all standard lint checks.", ["lint-all"]);
};