Skip to content

Commit 68d17e7

Browse files
author
Oleksandr Telnov
committed
remove import-destructuring-spacing rule and fix all lint issues
1 parent 8b6ee52 commit 68d17e7

File tree

81 files changed

+391
-358
lines changed

Some content is hidden

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

81 files changed

+391
-358
lines changed

components/accordion.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import {AccordionPanelComponent} from './accordion/accordion-group.component';
2-
import {AccordionComponent} from './accordion/accordion.component';
1+
import { AccordionPanelComponent } from './accordion/accordion-group.component';
2+
import { AccordionComponent } from './accordion/accordion.component';
33

4-
export {AccordionPanelComponent} from './accordion/accordion-group.component';
5-
export {AccordionComponent} from './accordion/accordion.component';
6-
export {AccordionModule} from './accordion/accordion.module';
4+
export { AccordionPanelComponent } from './accordion/accordion-group.component';
5+
export { AccordionComponent } from './accordion/accordion.component';
6+
export { AccordionModule } from './accordion/accordion.module';
77

88
/** @deprecated */
99
export const ACCORDION_DIRECTIVES:Array<any> = [AccordionComponent, AccordionPanelComponent];

components/accordion/accordion-group.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
Component, HostBinding, Inject, Input, OnDestroy, OnInit
33
} from '@angular/core';
44

5-
import {AccordionComponent} from './accordion.component';
5+
import { AccordionComponent } from './accordion.component';
66

77
/* tslint:disable:component-selector-name */
88
@Component({

components/accordion/accordion.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {Component, HostBinding, Input} from '@angular/core';
1+
import { Component, HostBinding, Input } from '@angular/core';
22

3-
import {AccordionPanelComponent} from './accordion-group.component';
3+
import { AccordionPanelComponent } from './accordion-group.component';
44

55
// todo: support template url
66
@Component({
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
import {CommonModule} from '@angular/common';
2-
import {NgModule} from '@angular/core';
1+
import { CommonModule } from '@angular/common';
2+
import { NgModule } from '@angular/core';
33

4-
import {CollapseModule} from '../collapse/collapse.module';
5-
import {AccordionPanelComponent} from './accordion-group.component';
6-
import {AccordionComponent} from './accordion.component';
4+
import { CollapseModule } from '../collapse/collapse.module';
5+
import { AccordionPanelComponent } from './accordion-group.component';
6+
import { AccordionComponent } from './accordion.component';
77

88
@NgModule({
9-
imports: [CommonModule, CollapseModule],
10-
declarations: [AccordionComponent, AccordionPanelComponent],
11-
exports: [AccordionComponent, AccordionPanelComponent]
9+
imports: [CommonModule, CollapseModule],
10+
declarations: [AccordionComponent, AccordionPanelComponent],
11+
exports: [AccordionComponent, AccordionPanelComponent]
1212
})
13-
export class AccordionModule {}
13+
export class AccordionModule {
14+
}

components/alert.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export {AlertComponent} from './alert/alert.component';
2-
export {AlertModule} from './alert/alert.module';
1+
export { AlertComponent } from './alert/alert.component';
2+
export { AlertModule } from './alert/alert.module';

components/alert/alert.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
1+
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
22

33
const ALERT_TEMPLATE = `
44
<div class="alert" role="alert" [ngClass]="classes" *ngIf="!closed">

components/alert/alert.module.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import {CommonModule} from '@angular/common';
2-
import {NgModule} from '@angular/core';
1+
import { CommonModule } from '@angular/common';
2+
import { NgModule } from '@angular/core';
33

4-
import {AlertComponent} from './alert.component';
4+
import { AlertComponent } from './alert.component';
55

66
@NgModule({
7-
imports: [CommonModule],
8-
declarations: [AlertComponent],
9-
exports: [AlertComponent]
7+
imports: [CommonModule],
8+
declarations: [AlertComponent],
9+
exports: [AlertComponent]
1010
})
11-
export class AlertModule {}
11+
export class AlertModule {
12+
}

components/buttons.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import {ButtonCheckboxDirective} from './buttons/button-checkbox.directive';
2-
import {ButtonRadioDirective} from './buttons/button-radio.directive';
1+
import { ButtonCheckboxDirective } from './buttons/button-checkbox.directive';
2+
import { ButtonRadioDirective } from './buttons/button-radio.directive';
33

4-
export {ButtonCheckboxDirective} from './buttons/button-checkbox.directive';
5-
export {ButtonRadioDirective} from './buttons/button-radio.directive';
6-
export {ButtonsModule} from './buttons/buttons.module';
4+
export { ButtonCheckboxDirective } from './buttons/button-checkbox.directive';
5+
export { ButtonRadioDirective } from './buttons/button-radio.directive';
6+
export { ButtonsModule } from './buttons/buttons.module';
77

88
/** @deprecated */
99
export const BUTTON_DIRECTIVES:Array<any> = [ButtonCheckboxDirective, ButtonRadioDirective];

components/buttons/button-checkbox.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
Directive, HostBinding, HostListener, Input, OnInit, Self
33
} from '@angular/core';
4-
import {ControlValueAccessor, NgModel} from '@angular/forms';
4+
import { ControlValueAccessor, NgModel } from '@angular/forms';
55

66
// TODO: config: activeClass - Class to apply to the checked buttons.
77

components/buttons/button-radio.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
Directive, ElementRef, HostBinding, HostListener, Input, OnInit, Self
33
} from '@angular/core';
4-
import {ControlValueAccessor, NgModel} from '@angular/forms';
4+
import { ControlValueAccessor, NgModel } from '@angular/forms';
55

66
// TODO: if uncheckable, null should be set to ngModel
77
// if disabled, button should not be checkable

0 commit comments

Comments
 (0)