Skip to content

Commit 551743a

Browse files
committed
fix(package): solved all lint errors
1 parent 30e053f commit 551743a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/module/component/mat-google-maps-autocomplete.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{{requiredErrorText}}
1313
</mat-error>
1414
<mat-error *ngIf="addressSearchControl.hasError('validateAddress')">
15-
{{invalidErrorText}}
15+
{{invalidErrorText}}
1616
</mat-error>
1717
</mat-form-field>

src/module/component/mat-google-maps-autocomplete.component.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ export class MatGoogleMapsAutocompleteComponent implements OnInit {
2626

2727
@ViewChild('search')
2828
public searchElementRef: ElementRef;
29-
29+
3030
@Input()
31-
addressLabelText: string = 'Address';
32-
31+
addressLabelText = 'Address';
32+
3333
@Input()
34-
placeholderText: string = 'Please enter the address';
35-
34+
placeholderText = 'Please enter the address';
35+
3636
@Input()
37-
requiredErrorText: string = 'The address is <strong>required</strong>';
38-
37+
requiredErrorText = 'The address is <strong>required</strong>';
38+
3939
@Input()
40-
invalidErrorText: string = 'The address is <strong>not valid</strong>';
41-
40+
invalidErrorText = 'The address is <strong>not valid</strong>';
41+
4242
@Input()
4343
appearance: string | Appearance = Appearance.STANDARD;
4444

src/module/directives/address-validator/mat-address-validator.directive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MatValidateAddressDirective } from './mat-address-validator.directive';
1+
import {MatValidateAddressDirective} from './mat-address-validator.directive';
22

33
describe('AddressValidator', () => {
44
it('should create an instance', () => {

0 commit comments

Comments
 (0)