Skip to content

Commit 83e30e2

Browse files
authored
build: disable formatting on styles and templates (#32614)
It looks like `ng-dev` enabled formatting on HTML and CSS/Sass files at some point. These changes disable it for our repo, because reformatting all the files ends up causing build failures. Fixes #32589.
1 parent 869d4f8 commit 83e30e2

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ pnpm-lock.yaml
1717

1818
# TODO: Enable formatting on markdown files
1919
**/*.md
20+
21+
# TODO: enable formatting on templates and styles.
22+
# For styles specifically the formatting ends up causing build failures.
23+
**/*.scss
24+
**/*.css
25+
**/*.html

integration/harness-e2e-cli/pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
packages:
2-
- .
2+
- .
33

44
# The minimum age of a release to be considered for dependency installation.
55
# The value is in minutes (1440 minutes = 1 day).

integration/ng-add-standalone/pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
packages:
2-
- .
2+
- .
33

44
# The minimum age of a release to be considered for dependency installation.
55
# The value is in minutes (1440 minutes = 1 day).

integration/ng-add/pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
packages:
2-
- .
2+
- .
33

44
# The minimum age of a release to be considered for dependency installation.
55
# The value is in minutes (1440 minutes = 1 day).

0 commit comments

Comments
 (0)