Skip to content

Commit 1249010

Browse files
committed
chore: format
1 parent 7aa768d commit 1249010

81 files changed

Lines changed: 523 additions & 570 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.all-contributorsrc

Lines changed: 202 additions & 260 deletions
Large diffs are not rendered by default.

.github/scripts/merge-all-contributors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = async ({ github, context }) => {
1818
for (const comment of comments?.data || []) {
1919
if (comment.user.login.includes('allcontributors')) {
2020
console.log(
21-
`[merge contributors workflow] found all-contributors comment ${comment.body}`
21+
`[merge contributors workflow] found all-contributors comment ${comment.body}`,
2222
);
2323
const allContributorsPr = comment.body.match(/\/pull\/(\d+)/)?.[1];
2424

@@ -31,12 +31,12 @@ module.exports = async ({ github, context }) => {
3131

3232
console.log(
3333
`[merge contributors workflow] found all-contributors PR`,
34-
pr
34+
pr,
3535
);
3636

3737
if (pr.data && pr.data.mergeable) {
3838
console.log(
39-
`[merge contributors workflow] merging ${allContributorsPr} on ${owner}/${repo}`
39+
`[merge contributors workflow] merging ${allContributorsPr} on ${owner}/${repo}`,
4040
);
4141
await github.rest.pulls.merge({
4242
owner,

apps/test-app-e2e/src/e2e/track-by.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ describe('track-by', () => {
1313
cy.get('button').click();
1414
assertCount(
1515
10 /* initial 3 + 7 (3 removed, 4 new) */,
16-
4 /* initial 3 + 1 new */
16+
4 /* initial 3 + 1 new */,
1717
);
1818

1919
// second click
2020
cy.get('button').click();
2121
assertCount(
2222
19 /* initial 3 + 7 (3 removed, 4 new) + 9 (4 removed, 5 new) */,
23-
5 /* initial 3 + 1 + 1 new */
23+
5 /* initial 3 + 1 + 1 new */,
2424
);
2525
});
2626
});

apps/test-app/src/app/if-validator/if-validator.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default class IfValidator {
2323
null,
2424
ifValidator(
2525
() => this.shouldValidate,
26-
[Validators.required, Validators.email]
27-
)
26+
[Validators.required, Validators.email],
27+
),
2828
);
2929

3030
public changeCondition() {

apps/test-app/src/app/intl/intl.component.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@ import {
2828
2929
<h2>Relative Time Format</h2>
3030
<p>
31-
<strong ngNonBindable>{{ 1 | relativeTimeFormat : 'day' }}</strong>
32-
=> {{ 1 | relativeTimeFormat : 'day' }}
31+
<strong ngNonBindable>{{ 1 | relativeTimeFormat: 'day' }}</strong>
32+
=> {{ 1 | relativeTimeFormat: 'day' }}
3333
</p>
3434
<p>
35-
<strong ngNonBindable>{{ -1 | relativeTimeFormat : 'day' }}</strong>
36-
=> {{ -1 | relativeTimeFormat : 'day' }}
35+
<strong ngNonBindable>{{ -1 | relativeTimeFormat: 'day' }}</strong>
36+
=> {{ -1 | relativeTimeFormat: 'day' }}
3737
</p>
3838
3939
<h2>Display Names</h2>
4040
<p>
41-
<strong ngNonBindable>{{ 'en' | displayNames : 'language' }}</strong>
42-
=> {{ 'en' | displayNames : 'language' }}
41+
<strong ngNonBindable>{{ 'en' | displayNames: 'language' }}</strong>
42+
=> {{ 'en' | displayNames: 'language' }}
4343
</p>
4444
<p>
45-
<strong ngNonBindable>{{ 'en' | displayNames : 'script' }}</strong>
46-
=> {{ 'en' | displayNames : 'script' }}
45+
<strong ngNonBindable>{{ 'en' | displayNames: 'script' }}</strong>
46+
=> {{ 'en' | displayNames: 'script' }}
4747
</p>
4848
<p>
49-
<strong ngNonBindable>{{ 'en' | displayNames : 'region' }}</strong>
50-
=> {{ 'en' | displayNames : 'region' }}
49+
<strong ngNonBindable>{{ 'en' | displayNames: 'region' }}</strong>
50+
=> {{ 'en' | displayNames: 'region' }}
5151
</p>
5252
`,
5353
host: {

apps/test-app/src/app/track-by/track-by.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class TrackByTest {
8585

8686
private setup(
8787
type: keyof typeof this.mutationsLength,
88-
nativeElement: HTMLUListElement
88+
nativeElement: HTMLUListElement,
8989
) {
9090
const mutationObserver = new MutationObserver(this.mutationCallback(type));
9191
mutationObserver.observe(nativeElement, { childList: true });

apps/test-app/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

apps/test-app/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { AppComponent } from './app/app.component';
33
import { appConfig } from './app/app.config';
44

55
bootstrapApplication(AppComponent, appConfig).catch((err) =>
6-
console.error(err)
6+
console.error(err),
77
);

docs/src/content/docs/es/utilities/Forms/if-validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class App {
3434
public shouldValidate = true;
3535
public form = new FormControl(
3636
null,
37-
ifValidator(() => this.shouldValidate, [Validators.required, Validators.email])
37+
ifValidator(() => this.shouldValidate, [Validators.required, Validators.email]),
3838
);
3939

4040
public changeCondition() {

docs/src/content/docs/utilities/Forms/if-validator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class App {
3434
public shouldValidate = true;
3535
public form = new FormControl(
3636
null,
37-
ifValidator(() => this.shouldValidate, [Validators.required, Validators.email])
37+
ifValidator(() => this.shouldValidate, [Validators.required, Validators.email]),
3838
);
3939

4040
public changeCondition() {

0 commit comments

Comments
 (0)