From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- docs/code-quality/lint/create.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/code-quality/lint/create.rst') diff --git a/docs/code-quality/lint/create.rst b/docs/code-quality/lint/create.rst index c4d8b15480..4da59b83a0 100644 --- a/docs/code-quality/lint/create.rst +++ b/docs/code-quality/lint/create.rst @@ -80,11 +80,15 @@ Each ``.yml`` file must have at least one linter defined in it. Here are the sup * include - A list of file paths that will be considered (optional) * exclude - A list of file paths or glob patterns that must not be matched (optional) * extensions - A list of file extensions to be considered (optional) +* exclude_extensions - A list of file extensions to be excluded (optional) * setup - A function that sets up external dependencies (optional) * support-files - A list of glob patterns matching configuration files (optional) * find-dotfiles - If set to ``true``, run on dot files (.*) (optional) * ignore-case - If set to ``true`` and ``type`` is regex, ignore the case (optional) +Note that a linter may not have both ``extensions`` and ``exclude_extensions`` specified at the +same time. + In addition to the above, some ``.yml`` files correspond to a single lint rule. For these, the following additional keys may be specified: -- cgit v1.2.3