src/config/js-yaml-loader.js
function getDefaultConfigPath () {
  let filePath
  let i
  let k

  for (k = 0; k < DEFAULT_CONFIG_DIRS.length; k++) {
    for (i = 0; i < SUPPORTED_EXTENSIONS.length; i++) {
      filePath = DEFAULT_CONFIG_DIRS[k] + SUPPORTED_EXTENSIONS[i]
      if (fileUtils.fileExistsSync(filePath)) {
        return filePath
      }
    }
  }

  throw new Error('No config file found')
}
function getDefaultConfigPath () {
  let filePath
  let i
  let k

  for (k = 0; k < DEFAULT_CONFIG_DIRS.length; k++) {
    for (i = 0; i < SUPPORTED_EXTENSIONS.length; i++) {
      filePath = DEFAULT_CONFIG_DIRS[k] + SUPPORTED_EXTENSIONS[i]
      if (fileUtils.fileExistsSync(filePath)) {
        return filePath
      }
    }
  }

  throw new Error('No config file found')
}
function getDefaultConfigPath ( ) { let filePath let i let k for ( k = 0 ; k < DEFAULT_CONFIG_DIRS . length ; k ++ ) { for ( i = 0 ; i < SUPPORTED_EXTENSIONS . length ; i ++ ) { filePath = DEFAULT_CONFIG_DIRS [ k ] + SUPPORTED_EXTENSIONS [ i ] if ( fileUtils . fileExistsSync ( filePath ) ) { return filePath } } } throw new Error ( 'No config file found' ) }
Fallback if no config path is specified. Will attempt to load the file from the default directory

@private
@returns {String} filePath
Fallback if no config path is specified . Will attempt to load the file from the default directory