File tree 5 files changed +12
-7
lines changed
5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 97
97
"stylelint" : " ^7.8.0" ,
98
98
"travis-after-modes" : " 0.0.7" ,
99
99
"ts-node" : " ^2.0.0" ,
100
- "tslint" : " ^3.13.0" ,
100
+ "tslint" : " ^4.4.2" ,
101
+ "tslint-no-unused-var" : " 0.0.6" ,
101
102
"typescript" : " ~2.0.10" ,
102
103
"uglify-js" : " ^2.7.5" ,
103
104
"web-animations-js" : " ^2.2.2"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export type ElementBoundingPositions = {
21
21
right : number ;
22
22
bottom : number ;
23
23
left : number ;
24
- }
24
+ } ;
25
25
26
26
/**
27
27
* A strategy for positioning overlays. Using this strategy, an overlay is given an
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const MAX_ANGLE = 359.99 / 100;
31
31
export type ProgressSpinnerMode = 'determinate' | 'indeterminate' ;
32
32
33
33
type EasingFn = ( currentTime : number , startValue : number ,
34
- changeInValue : number , duration : number ) => number
34
+ changeInValue : number , duration : number ) => number ;
35
35
36
36
37
37
/**
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ export class TooltipComponent {
331
331
// trigger interaction and close the tooltip right after it was displayed.
332
332
this . _closeOnInteraction = false ;
333
333
334
- // Mark for check so if any parent component has set the
334
+ // Mark for check so if any parent component has set the
335
335
// ChangeDetectionStrategy to OnPush it will be checked anyways
336
336
this . _changeDetectorRef . markForCheck ( ) ;
337
337
setTimeout ( ( ) => { this . _closeOnInteraction = true ; } , 0 ) ;
@@ -352,7 +352,7 @@ export class TooltipComponent {
352
352
this . _visibility = 'hidden' ;
353
353
this . _closeOnInteraction = false ;
354
354
355
- // Mark for check so if any parent component has set the
355
+ // Mark for check so if any parent component has set the
356
356
// ChangeDetectionStrategy to OnPush it will be checked anyways
357
357
this . _changeDetectorRef . markForCheck ( ) ;
358
358
} , delay ) ;
Original file line number Diff line number Diff line change 1
1
{
2
+ "rulesDirectory" : [" node_modules/tslint-no-unused-var" ],
2
3
"rules" : {
3
4
"max-line-length" : [true , 100 ],
4
- "no-inferrable-types" : true ,
5
+ // Disable this flag because of SHA tslint#48b0c597f9257712c7d1f04b55ed0aa60e333f6a
6
+ // TSLint now shows warnings if types for properties are inferred. This rule needs to be
7
+ // disabled because all properties need to have explicit types set to work for Dgeni.
8
+ "no-inferrable-types" : false ,
5
9
"class-name" : true ,
6
10
"comment-format" : [
7
11
true ,
20
24
"no-bitwise" : true ,
21
25
"no-shadowed-variable" : true ,
22
26
"no-unused-expression" : true ,
23
- "no-unused-variable " : [true , {"ignore-pattern" : " ^(_.*)$" }],
27
+ "no-unused-var " : [true , {"ignore-pattern" : " ^(_.*)$" }],
24
28
"one-line" : [
25
29
true ,
26
30
" check-catch" ,
You can’t perform that action at this time.
0 commit comments