Skip to content

Commit 7a90478

Browse files
committed
Specify exact path of dependency license metadata cache in ignore file
The "Check Dependencies" templates store a cache of metadata about the licenses of dependencies under the `.licenses` folder. Since this folder only contains generated files, it should be excluded from the validation checks performed by unrelated tools. Previously, the markdownlint ignore configuration for this folder did not explicitly specify a location in the root of the repository, meaning that it would result in ignoring a folder of that name at any location in the project. In cases like this where a specific path is known, it is best to configure that exact path in order to avoid any chance of unexpected behavior.
1 parent 6fe579c commit 7a90478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.markdownlintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown/.markdownlintignore
2-
.licenses/
2+
/.licenses/
33
__pycache__/
44
node_modules/

0 commit comments

Comments
 (0)