From d6c62e9d8ebbea0fb9f6a15f63a09b11b7e8b027 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 9 Oct 2018 21:48:49 +0200 Subject: [PATCH] fix(schematics): template content exceeds max line length * 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`. --- .../__name@dasherize__.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/schematics/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts b/src/lib/schematics/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts index 7dae50eb23ca..12648374d50e 100644 --- a/src/lib/schematics/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +++ b/src/lib/schematics/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts @@ -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] });