Skip to content

Commit 7adeb29

Browse files
committed
Merge pull request NativeScript#446 from NativeScript/upgrade-tslint
Upgrade tslint
2 parents b64d647 + c6d7717 commit 7adeb29

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

apps/tests/ui/tab-view/tab-view-tests.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ export var testWhenSettingSelectedIndexProgramaticallySelectedIndexChangedEventI
384384
}
385385
}
386386

387-
388387
export var testWhenNavigatingBackToANonCachedPageContainingATabViewWithAListViewTheListViewIsThere = function () {
389388
return;
390389

node-tests/test-xml.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ describe("xml parser", () => {
2222
});
2323

2424
it("handles whitespace around attribute =", () => {
25-
let attributes = null;
26-
let element = null;
27-
2825
parser.parse("<TextField text = \n 'hello' />");
2926

3027
assert.equal('TextField', last_element);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"grunt-multi-dest": "1.0.0",
2121
"grunt-shell": "1.1.2",
2222
"grunt-ts": "4.0.1",
23-
"grunt-tslint": "0.4.2",
23+
"grunt-tslint": "2.3.1-beta",
2424
"mocha": "2.2.5",
2525
"grunt-simple-mocha": "0.4.0",
2626
"grunt-env": "0.4.4",

ui/page/page.ios.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export class Page extends pageCommon.Page {
115115
return this.ios.view;
116116
}
117117

118-
119118
protected _showNativeModalView(parent: Page, context: any, closeCallback: Function, fullscreen?: boolean) {
120119
(<any>this)._isModal = true;
121120

ui/styling/style-scope.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import view = require("ui/core/view");
22
import trace = require("trace");
3-
import visualState = require("ui/styling/visual-state");
43
import cssSelector = require("ui/styling/css-selector");
54
import cssParser = require("js-libs/reworkcss");
6-
import VisualState = visualState.VisualState;
5+
import {VisualState} from "ui/styling/visual-state";
76
import application = require("application");
87
import utils = require("utils/utils");
98
import types = require("utils/types");

0 commit comments

Comments
 (0)