mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(schematics): template content exceeds max line length (#13521)
* Assuming most of the CLI projects have the line limit at around `100`, one line within the `address-form` TS template file exceeds this average max-line-length boundary by `17`.
This commit is contained in:
committed by
Andrew Seguin
parent
c14c34e84a
commit
b0a1dafa8e
+3
-1
@@ -23,7 +23,9 @@ export class <%= classify(name) %>Component {
|
||||
address2: null,
|
||||
city: [null, Validators.required],
|
||||
state: [null, Validators.required],
|
||||
postalCode: [null, Validators.compose([Validators.required, Validators.minLength(5), Validators.maxLength(5)])],
|
||||
postalCode: [null, Validators.compose([
|
||||
Validators.required, Validators.minLength(5), Validators.maxLength(5)])
|
||||
],
|
||||
shipping: ['free', Validators.required]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user