Commit b1212ed
committed
Specify exact path of dependency license metadata cache in ignore files
The "Check Dependencies" templates store a cache of metadata about the licenses of dependencies under the `.licenses`
folder. The templates use the default location for this folder, under the root of the repository.
Since this folder only contains generated files, it should be excluded from the validation checks performed by unrelated
tools.
Previously, the markdownlint and Prettier ignore configurations 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 7ae7b6b commit b1212ed
File tree
4 files changed
+4
-4
lines changed- workflow-templates/assets
- check-markdown
- check-prettier-formatting
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
0 commit comments