How to use the prettierx.clearConfigCache function in prettierx

To help you get started, we’ve selected a few prettierx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sheerun / prettier-standard / src / index.js View on Github external
runtime: Date.now() - start,
      formatted,
      report,
      check: config.check
    })
  }
}

module.exports = {
  format,
  check,
  run,
  getFileInfo,
  formatWithCursor,
  resolveConfig: prettierx.resolveConfig,
  clearConfigCache: prettierx.clearConfigCache,
  getSupportInfo: prettierx.getSupportInfo
}

prettierx

prettierX - a less opinionated fork of the Prettier code formatter

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis