@@ -7,37 +7,8 @@ export const format: FormatConfig = {
7
7
'prettier' : {
8
8
'matchers' : [
9
9
'**/*.{yaml,yml}' ,
10
- 'adev/**/*.{js,ts}' ,
11
- 'devtools/**/*.{js,ts}' ,
12
- 'integration/**/*.{js,ts}' ,
13
- 'tools/**/*.{js,ts}' ,
14
- 'modules/**/*.{js,ts}' ,
15
- 'scripts/**/*.{js,ts}' ,
16
- 'packages/animations/**/*.{js,ts}' ,
17
- 'packages/bazel/**/*.{js,ts}' ,
18
- 'packages/benchpress/**/*.{js,ts}' ,
19
- 'packages/common/**/*.{js,ts}' ,
20
- 'packages/compiler/**/*.{js,ts}' ,
21
- 'packages/compiler-cli/**/*.{js,ts}' ,
22
- 'packages/core/**/*.{js,ts}' ,
23
- 'packages/docs/**/*.{js,ts}' ,
24
- 'packages/elements/**/*.{js,ts}' ,
25
- 'packages/examples/**/*.{js,ts}' ,
26
- 'packages/forms/**/*.{js,ts}' ,
27
- 'packages/language-service/**/*.{js,ts}' ,
28
- 'packages/localize/**/*.{js,ts}' ,
29
- 'packages/platform-browser/**/*.{js,ts}' ,
30
- 'packages/platform-browser-dynamic/**/*.{js,ts}' ,
31
- 'packages/platform-server/**/*.{js,ts}' ,
32
- 'packages/misc/**/*.{js,ts}' ,
33
- 'packages/private/**/*.{js,ts}' ,
34
- 'packages/router/**/*.{js,ts}' ,
35
- 'packages/service-worker/**/*.{js,ts}' ,
36
- 'packages/upgrade/**/*.{js,ts}' ,
37
- 'packages/zone.js/**/*.{js,ts}' ,
10
+ '**/*.{js,ts}' ,
38
11
39
- // Test cases contain non valid code.
40
- '!packages/compiler-cli/test/compliance/test_cases/**/*.{js,ts}' ,
41
12
// Do not format d.ts files as they are generated
42
13
'!**/*.d.ts' ,
43
14
// Both third_party and .yarn are directories containing copied code which should
@@ -49,60 +20,10 @@ export const format: FormatConfig = {
49
20
'!packages/core/src/i18n/locale_en.ts' ,
50
21
'!packages/common/locales/closure-locale.ts' ,
51
22
'!packages/common/src/i18n/currencies.ts' ,
52
- ] ,
53
- } ,
54
- 'clang-format' : {
55
- 'matchers' : [
56
- '**/*.{js,ts}' ,
57
- // TODO: burn down format failures and remove aio and integration exceptions.
58
- '!aio/**' ,
59
- '!integration/**' ,
60
- // Both third_party and .yarn are directories containing copied code which should
61
- // not be modified.
62
- '!third_party/**' ,
63
- '!.yarn/**' ,
64
- // Do not format d.ts files as they are generated
65
- '!**/*.d.ts' ,
66
- // Do not format generated ng-dev script
67
- '!dev-infra/ng-dev.js' ,
68
- '!dev-infra/build-worker.js' ,
69
- // Do not format compliance test-cases since they must match generated code
70
- '!packages/compiler-cli/test/compliance/test_cases/**/*.js' ,
71
- // Do not format the locale files which are checked-in for Google3, but generated using
72
- // the `generate-locales-tool` from `packages/common/locales`.
73
- '!packages/core/src/i18n/locale_en.ts' ,
74
- '!packages/common/locales/closure-locale.ts' ,
75
- '!packages/common/src/i18n/currencies.ts' ,
76
- // Temporarily disable formatting for adev
77
- '!adev/**' ,
78
-
79
- // Migrated to prettier
80
- '!devtools/**/*.{js,ts}' ,
81
- '!tools/**/*.{js,ts}' ,
82
- '!modules/**/*.{js,ts}' ,
83
- '!scripts/**/*.{js,ts}' ,
84
- '!packages/animations/**/*.{js,ts}' ,
85
- '!packages/bazel/**/*.{js,ts}' ,
86
- '!packages/benchpress/**/*.{js,ts}' ,
87
- '!packages/common/**/*.{js,ts}' ,
88
- '!packages/compiler/**/*.{js,ts}' ,
89
- '!packages/compiler-cli/**/*.{js,ts}' ,
90
- '!packages/core/**/*.{js,ts}' ,
91
- '!packages/docs/**/*.{js,ts}' ,
92
- '!packages/elements/**/*.{js,ts}' ,
93
- '!packages/examples/**/*.{js,ts}' ,
94
- '!packages/forms/**/*.{js,ts}' ,
95
- '!packages/language-service/**/*.{js,ts}' ,
96
- '!packages/localize/**/*.{js,ts}' ,
97
- '!packages/platform-browser/**/*.{js,ts}' ,
98
- '!packages/platform-browser-dynamic/**/*.{js,ts}' ,
99
- '!packages/platform-server/**/*.{js,ts}' ,
100
- '!packages/misc/**/*.{js,ts}' ,
101
- '!packages/private/**/*.{js,ts}' ,
102
- '!packages/router/**/*.{js,ts}' ,
103
- '!packages/service-worker/**/*.{js,ts}' ,
104
- '!packages/upgrade/**/*.{js,ts}' ,
105
- '!packages/zone.js/**/*.{js,ts}' ,
23
+ // Test cases contain non valid code.
24
+ '!packages/compiler-cli/test/compliance/test_cases/**/*.{js,ts}' ,
25
+ // Ignore AIO as its pending removal.
26
+ '!aio/**/*.{js,ts}' ,
106
27
] ,
107
28
} ,
108
29
'buildifier' : true ,
0 commit comments