File tree 5 files changed +13
-6
lines changed 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 94
94
"stylelint" : " ^7.7.1" ,
95
95
"travis-after-modes" : " 0.0.7" ,
96
96
"ts-node" : " ^2.0.0" ,
97
- "tslint" : " ^3.13.0 " ,
97
+ "tslint" : " ^4.4.2 " ,
98
98
"typescript" : " ~2.0.10" ,
99
99
"uglify-js" : " ^2.7.5" ,
100
100
"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
2
"rules" : {
3
3
"max-line-length" : [true , 100 ],
4
- "no-inferrable-types" : true ,
4
+ // Disable this flag because of SHA tslint#48b0c597f9257712c7d1f04b55ed0aa60e333f6a
5
+ // TSLint now shows warnings if types for properties are inferred. This rule needs to be
6
+ // disabled because all properties need to have explicit types set to work for Dgeni.
7
+ "no-inferrable-types" : false ,
5
8
"class-name" : true ,
6
9
"comment-format" : [
7
10
true ,
20
23
"no-bitwise" : true ,
21
24
"no-shadowed-variable" : true ,
22
25
"no-unused-expression" : true ,
26
+ // This flag has been deprecated in favor the built-in TypeScript options that detect unused
27
+ // parameter and locals. See noUnusedLocals and noUnusedParameters. These options now throw
28
+ // at compilation and reduce flexibility when debugging. We should temporary keep the
29
+ // deprecated flag and see if TSLint reverts the deprecation.
23
30
"no-unused-variable" : [true , {"ignore-pattern" : " ^(_.*)$" }],
24
31
"one-line" : [
25
32
true ,
You can’t perform that action at this time.
0 commit comments