summaryrefslogtreecommitdiffstats
path: root/docs/code-quality/lint/linters/test-manifest-toml.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/code-quality/lint/linters/test-manifest-toml.rst')
-rw-r--r--docs/code-quality/lint/linters/test-manifest-toml.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/code-quality/lint/linters/test-manifest-toml.rst b/docs/code-quality/lint/linters/test-manifest-toml.rst
new file mode 100644
index 0000000000..1060b2756b
--- /dev/null
+++ b/docs/code-quality/lint/linters/test-manifest-toml.rst
@@ -0,0 +1,35 @@
+Test Manifest TOML
+==================
+
+This linter verifies syntax for ManifestParser TOML files.
+
+Run Locally
+-----------
+
+This mozlint linter can be run using mach:
+
+.. parsed-literal::
+
+ $ mach lint --linter test-manifest-toml <file paths>
+
+
+Configuration
+-------------
+
+The configuration excludes all non-ManifestParser TOML files (as well as
+generated TOML manifests).
+
+Sources
+-------
+
+* `Configuration (YAML) <https://searchfox.org/mozilla-central/source/tools/lint/test-manifest-toml.yml>`_
+* `Source <https://searchfox.org/mozilla-central/source/tools/lint/test-manifest-toml/__init__.py>`_
+
+Errors Detected
+---------------
+* Invalid TOML
+* Missing DEFAULT section (fixable)
+* Sections not in alphabetical order (fixable)
+* Section name not double quoted (fixable)
+* Disabling a path by commenting out the section
+* Conditional contains explicit ||