Bug 1387862 - Lint taskcluster yaml files. r=dustin draft
authorJustin Wood <Callek@gmail.com>
Sun, 06 Aug 2017 13:26:13 -0400
changeset 644105 3b3cdf18616cbdbc7da58c1f9a3fac5d9cb6a589
parent 644104 a71a4b6382e6a6d50f000436ecf01ad4de99ec2c
child 644106 ed6e5bbf080c10b6dc83e3832c85486dd8182fcb
push id73304
push userCallek@gmail.com
push dateThu, 10 Aug 2017 12:43:29 +0000
reviewersdustin
bugs1387862
milestone57.0a1
Bug 1387862 - Lint taskcluster yaml files. r=dustin We should have CI Lint YAML files in the tree. MozReview-Commit-ID: L83j6SODA3w
taskcluster/.yamllint
tools/lint/yaml.yml
new file mode 100644
--- /dev/null
+++ b/taskcluster/.yamllint
@@ -0,0 +1,16 @@
+---
+
+extends: default
+
+rules:
+  document-end:
+     present: false
+  # Checks currently failing
+  brackets: disable
+  commas: disable
+  comments: disable
+  comments-indentation: disable
+  document-start: disable
+  hyphens: disable
+  indentation: disable
+  line-length: disable
--- a/tools/lint/yaml.yml
+++ b/tools/lint/yaml.yml
@@ -1,5 +1,7 @@
 yamllint:
     description: YAML linter
+    include:
+        - taskcluster
     extensions: ['yml', 'yaml']
     type: external
     payload: yamllint_:lint