Skip to content

Commit 4a9ebbb

Browse files
authored
build: format md files
This commit configures prettier to format markdown files.
1 parent 6382072 commit 4a9ebbb

File tree

7 files changed

+1058
-528
lines changed

7 files changed

+1058
-528
lines changed

CHANGELOG.md

Lines changed: 153 additions & 65 deletions
Large diffs are not rendered by default.

CHANGELOG_ARCHIVE.md

Lines changed: 885 additions & 448 deletions
Large diffs are not rendered by default.

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Use welcoming and inclusive language
18-
* Respect each other
19-
* Provide and gracefully accept constructive criticism
20-
* Show empathy towards other community members
17+
- Use welcoming and inclusive language
18+
- Respect each other
19+
- Provide and gracefully accept constructive criticism
20+
- Show empathy towards other community members
2121

2222
Examples of unacceptable behavior by participants include:
2323

24-
* Trolling, insulting/derogatory comments, and personal or political attacks
25-
* Public or private harassment
26-
* Publishing others' private information, such as a physical or electronic
24+
- Trolling, insulting/derogatory comments, and personal or political attacks
25+
- Public or private harassment
26+
- Publishing others' private information, such as a physical or electronic
2727
address, without explicit permission
28-
* The use of sexualized language or imagery
29-
* Unwelcome sexual attention or advances
30-
* Other conduct which could reasonably be considered inappropriate in a
28+
- The use of sexualized language or imagery
29+
- Unwelcome sexual attention or advances
30+
- Other conduct which could reasonably be considered inappropriate in a
3131
professional setting
3232

3333
## Our Responsibilities
@@ -69,9 +69,9 @@ members of the project's leadership.
6969

7070
If you are banned you may contest the decision. To do so email conduct@angular.io with the subject line "Repeal Ban for {{your name here}}" and body with the responses to the following:
7171

72-
* Why do you believe you did not violate the Code of Conduct?
73-
* Were other factors involved in this situation the leadership team may have been unaware of?
74-
* Why do you wish to be a part of the Angular community?
72+
- Why do you believe you did not violate the Code of Conduct?
73+
- Were other factors involved in this situation the leadership team may have been unaware of?
74+
- Why do you wish to be a part of the Angular community?
7575

7676
## Attribution
7777

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# dev-infra
2+
23
Angular Development Infrastructure

bazel/remote-execution/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ docker tag angular-devinfra-rbe-image:latest \
1313
us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:2025-10
1414

1515
docker push us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:2025-10
16-
````
16+
```

github-actions/org-file-sync/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Organization File Sync
22

3-
This directory contains an action which can be executed in the `.github` repository. Based on the
3+
This directory contains an action which can be executed in the `.github` repository. Based on the
44
configured list of files and repositories, the action will ensure the all of the provided files in
55
the provided repositories are kept in sync with the `.github` repository.
66

ng-dev/format/formatters/prettier.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ export class Prettier extends Formatter {
2525
'**/*.{js,cjs,mjs}',
2626
'**/*.{ts,cts,mts}',
2727
'**/*.{json,json5}',
28+
'**/*.md',
2829
'**/*.{yml,yaml}',
30+
31+
// Ignore goldens MD files
32+
'!**/goldens/**/*.api.md',
2933
];
3034

3135
/**

0 commit comments

Comments
 (0)