1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | "use strict";
|
12 | module.exports = function (grunt) {
|
13 |
|
14 | grunt.initConfig({
|
15 | lintAll: {
|
16 | sources: {
|
17 | js: ["./lib/**/*.js", "./tests/**/*.js", "./*.js"],
|
18 | json: ["lib/**/*.json", "tests/data/*.json", "tests/configs/*.json", "examples/**/*.json", "./*.json"],
|
19 | json5: ["lib/**/*.json5", "tests/data/*.json5", "tests/configs/*.json5", "examples/**/*.json5"],
|
20 | md: ["./*.md", "docs/**/*.md", "examples/**/*.md"],
|
21 | other: ["./.*"]
|
22 | }
|
23 | },
|
24 | markdownlint: {
|
25 | options: {
|
26 | config: {
|
27 | "single-h1": false
|
28 | }
|
29 | }
|
30 | }
|
31 | });
|
32 |
|
33 | grunt.loadNpmTasks("fluid-grunt-lint-all");
|
34 | grunt.registerTask("lint", "Perform all standard lint checks.", ["lint-all"]);
|
35 | };
|