Skip to content

Commit 7133259

Browse files
committed
fix: fix lint
1 parent 85cc02e commit 7133259

File tree

4 files changed

+30
-29
lines changed

4 files changed

+30
-29
lines changed

e2e/src/app.e2e-spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { AppPage } from './app.po';
22

33
describe('workspace-project App', () => {
4-
let page: AppPage;
4+
let page: AppPage;
55

6-
beforeEach(() => {
7-
page = new AppPage();
8-
});
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
99

10-
it('should display welcome message', () => {
11-
page.navigateTo();
12-
expect(page.getTitleText()).toEqual('Welcome to ui5-webcomponents-sample-angular!');
13-
});
10+
it('should display welcome message', () => {
11+
page.navigateTo();
12+
expect(page.getTitleText()).toEqual('Welcome to ui5-webcomponents-sample-angular!');
13+
});
1414
});

e2e/src/app.po.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { browser, by, element } from 'protractor';
22

33
export class AppPage {
4-
navigateTo() {
5-
return browser.get('/');
6-
}
4+
navigateTo() {
5+
return browser.get('/');
6+
}
77

8-
getTitleText() {
9-
return element(by.css('app-root h1')).getText();
10-
}
8+
getTitleText() {
9+
return element(by.css('app-root h1')).getText();
10+
}
1111
}

src/app/app.module.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { UserInputComponent } from './user-input/user-input.component';
77
import { ListComponent } from './list/list.component';
88

99
// UI5 Web Components used
10-
import {setTheme } from "@ui5/webcomponents-base/dist/config/Theme";
10+
import {setTheme } from '@ui5/webcomponents-base/dist/config/Theme';
1111
import '@ui5/webcomponents/dist/Button';
1212
import '@ui5/webcomponents/dist/Title';
1313
import '@ui5/webcomponents/dist/Input';
@@ -21,19 +21,19 @@ import '@ui5/webcomponents/dist/TextArea';
2121
import '@ui5/webcomponents/dist/StandardListItem';
2222
import '@ui5/webcomponents-fiori/dist/ShellBar';
2323
import '@ui5/webcomponents-fiori/dist/Assets';
24-
setTheme("sap_horizon");
24+
setTheme('sap_horizon');
2525
@NgModule({
26-
declarations: [
27-
AppComponent,
28-
HeaderComponent,
29-
ListComponent,
30-
UserInputComponent
31-
],
32-
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
33-
imports: [
34-
BrowserModule
35-
],
36-
providers: [],
37-
bootstrap: [AppComponent]
26+
declarations: [
27+
AppComponent,
28+
HeaderComponent,
29+
ListComponent,
30+
UserInputComponent
31+
],
32+
schemas: [ CUSTOM_ELEMENTS_SCHEMA ],
33+
imports: [
34+
BrowserModule
35+
],
36+
providers: [],
37+
bootstrap: [AppComponent]
3838
})
3939
export class AppModule { }

tslint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"import-spacing": true,
2424
"indent": [
2525
true,
26-
"spaces"
26+
"tabs",
27+
4
2728
],
2829
"interface-over-type-literal": true,
2930
"label-position": true,

0 commit comments

Comments
 (0)