Bug 1387862 - Lint the linter config yaml files themselves. r=ahal draft
authorJustin Wood <Callek@gmail.com>
Sun, 06 Aug 2017 13:47:03 -0400
changeset 644109 19ce6b7639a9756ea799d23ce6b37fa13fc71837
parent 644108 f655d46d1d104476f028521157c61e2927317c67
child 644110 2ab21c6326519d3767511d69ce1ec0878faa1319
push id73304
push userCallek@gmail.com
push dateThu, 10 Aug 2017 12:43:29 +0000
reviewersahal
bugs1387862
milestone57.0a1
Bug 1387862 - Lint the linter config yaml files themselves. r=ahal We should have CI Lint YAML files in the tree. MozReview-Commit-ID: F8hTBerSNIj
tools/lint/eslint.yml
tools/lint/flake8.yml
tools/lint/wpt.yml
tools/lint/wpt_manifest.yml
tools/lint/yaml.yml
--- a/tools/lint/eslint.yml
+++ b/tools/lint/eslint.yml
@@ -1,8 +1,9 @@
+---
 eslint:
     description: JavaScript linter
     # ESLint infra handles its own path filtering, so just include cwd
     include: ['.']
     exclude: []
     # Make sure these are defined on the same line until the hack
     # in hook_helper.py is fixed.
     extensions: ['js', 'jsm', 'jsx', 'xml', 'html', 'xhtml']
--- a/tools/lint/flake8.yml
+++ b/tools/lint/flake8.yml
@@ -1,8 +1,9 @@
+---
 flake8:
     description: Python linter
     include:
         - layout/tools/reftest
         - python/mozlint
         - security/manager
         - taskcluster
         - testing/firefox-ui
--- a/tools/lint/wpt.yml
+++ b/tools/lint/wpt.yml
@@ -1,7 +1,8 @@
+---
 wpt:
     description: web-platform-tests lint
     include:
         - testing/web-platform/tests
     exclude: []
     type: external
     payload: wpt.wpt:lint
--- a/tools/lint/wpt_manifest.yml
+++ b/tools/lint/wpt_manifest.yml
@@ -1,8 +1,9 @@
+---
 wpt_manifest:
     description: web-platform-tests manifest lint
     include:
         - testing/web-platform/tests
         - testing/web-platform/mozilla/tests
     exclude: []
     type: structured_log
     payload: wpt.wpt_manifest:lint
--- a/tools/lint/yaml.yml
+++ b/tools/lint/yaml.yml
@@ -1,10 +1,13 @@
+---
 yamllint:
     description: YAML linter
     include:
         - .cron.yml
         - python/mozlint/
         - security/nss/.taskcluster.yml
         - taskcluster
+        - testing/mozharness
+        - tools
     extensions: ['yml', 'yaml']
     type: external
     payload: yamllint_:lint