@@ -22,22 +22,22 @@ describe('EnvironmentConfiguration', () => {
2222 } ) ;
2323
2424 it ( 'allows known environment variables' , ( ) => {
25- process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/temp' ; // tslint: disable-line:no-string-literal
25+ process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/temp' ; // eslint- disable-line dot-notation
2626 expect ( EnvironmentConfiguration . initialize ) . not . toThrow ( ) ;
2727 } ) ;
2828
2929 it ( 'does not allow unknown environment variables' , ( ) => {
30- process . env [ 'rush_foobar' ] = 'asdf' ; // tslint: disable-line:no-string-literal
30+ process . env [ 'rush_foobar' ] = 'asdf' ; // eslint- disable-line dot-notation
3131 expect ( EnvironmentConfiguration . initialize ) . toThrow ( ) ;
3232 } ) ;
3333
3434 it ( 'can be re-initialized' , ( ) => {
35- process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/tempA' ; // tslint: disable-line:no-string-literal
35+ process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/tempA' ; // eslint- disable-line dot-notation
3636 EnvironmentConfiguration . initialize ( { doNotNormalizePaths : true } ) ;
3737
3838 expect ( EnvironmentConfiguration . rushTempFolderOverride ) . toEqual ( '/var/tempA' ) ;
3939
40- process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/tempB' ; // tslint: disable-line:no-string-literal
40+ process . env [ 'RUSH_TEMP_FOLDER' ] = '/var/tempB' ; // eslint- disable-line dot-notation
4141 EnvironmentConfiguration . initialize ( { doNotNormalizePaths : true } ) ;
4242
4343 expect ( EnvironmentConfiguration . rushTempFolderOverride ) . toEqual ( '/var/tempB' ) ;
@@ -57,7 +57,7 @@ describe('EnvironmentConfiguration', () => {
5757
5858 it ( 'returns the value for a set environment variable' , ( ) => {
5959 const expectedValue : string = '/var/temp' ;
60- process . env [ 'RUSH_TEMP_FOLDER' ] = expectedValue ; // tslint: disable-line:no-string-literal
60+ process . env [ 'RUSH_TEMP_FOLDER' ] = expectedValue ; // eslint- disable-line dot-notation
6161 EnvironmentConfiguration . initialize ( { doNotNormalizePaths : true } ) ;
6262
6363 expect ( EnvironmentConfiguration . rushTempFolderOverride ) . toEqual ( expectedValue ) ;
0 commit comments