Skip to content

Commit f57c17d

Browse files
gkalpakatscott
authored andcommitted
build: remove the deprecated aio commit message scope (angular#32341)
The `aio` commit message scope was renamed to `docs-infra` (which is more descriptive) in angular#24295. Although it has been removed from the documentation, the legacy `aio` scope was kept in the [list of valid scopes][1] to cater for in-flight PRs that already used it. As a result, it still shows up as a recommended, valid scope in the error message shown when commit message validation fails during `git commit`. This is misleading, especially for new contributors. Since we have been "manually" discouraging people from using `aio`, there should be no open PRs by now (and if there are, they should be changed to `docs-infra`), so it is safe to remove it from the list of allowed scopes. Related discussion: angular#32273 (review) [1]: https://github.com/angular/angular/blob/3df54be9e/tools/validate-commit-message/commit-message.json#L16 PR Close angular#32341
1 parent 0874bf4 commit f57c17d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/validate-commit-message/commit-message.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"test"
1414
],
1515
"scopes": [
16-
"aio",
1716
"animations",
1817
"bazel",
1918
"benchpress",

0 commit comments

Comments
 (0)