code: function getYmlsInsideFolder (folderPath) {
    return new Promise((resolve, reject) => {
      if (!fs.existsSync(folderPath)) {
        reject('Cant\' find syntax templates folder: ' + folderPath)
      } else {
        fs.readdir(folderPath, (err, data) => {
          if (err) reject('Error reading syntax templates folder: ' + folderPath)
          else {
            resolve(
              data
              .filter(i => path.basename(i) !== path.basename(i, '.yml'))
              .map(i => path.resolve(folderPath, i))
            )
          }
        })
      }
    })
  }
docs: getYmlsInsideFolder
  
  @param {string} folderPath path to folder with yml templates
  @returns {array} list of template paths inside folder