forked from fluid-project/fluid-express
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGruntfile.js
26 lines (24 loc) · 822 Bytes
/
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
"use strict";
module.exports = function (grunt) {
grunt.initConfig({
lintAll: {
sources: {
md: [ "./*.md","./docs/**/*.md"],
js: ["./src/**/*.js", "./tests/**/*.js", "./*.js"],
json: ["./src/**/*.json", "tests/**/*.json", "./*.json"],
json5: ["./src/**/*.json5", "tests/**/*.json5", "./*.json5"],
other: ["./.*"]
}
},
markdownlint: {
options: {
config: {
// Needed to avoid a literal URL in a code example.
"no-bare-urls": false
}
}
}
});
grunt.loadNpmTasks("fluid-grunt-lint-all");
grunt.registerTask("lint", "Perform all standard lint checks.", ["lint-all"]);
};