File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/@ember/-internals Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ function getChainTags(
71
71
// prevent closures
72
72
let segment : string , descriptor : any ;
73
73
74
- // eslint-disable-next-line no-constant-condition
75
74
while ( true ) {
76
75
let lastSegmentEnd = segmentEnd + 1 ;
77
76
segmentEnd = path . indexOf ( '.' , lastSegmentEnd ) ;
@@ -127,6 +126,7 @@ function getChainTags(
127
126
128
127
// If the key is an alias, we need to bootstrap it
129
128
if ( descriptor !== undefined && typeof descriptor . altKey === 'string' ) {
129
+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
130
130
item [ segment ] ;
131
131
}
132
132
}
@@ -151,6 +151,7 @@ function getChainTags(
151
151
// bootstrap the alias. This is because aliases, unlike other CPs, should
152
152
// always be in sync with the aliased value.
153
153
if ( CHAIN_PASS_THROUGH . has ( descriptor ) ) {
154
+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
154
155
current [ segment ] ;
155
156
}
156
157
break ;
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ export const GUID_KEY = intern(`__ember${Date.now()}`);
70
70
separate the guid into separate namespaces.
71
71
@return {String } the guid
72
72
*/
73
+ // eslint-disable-next-line @typescript-eslint/no-wrapper-object-types
73
74
export function generateGuid ( obj : object , prefix = GUID_PREFIX ) : String {
74
75
let guid = prefix + uuid ( ) . toString ( ) ;
75
76
You can’t perform that action at this time.
0 commit comments