index.js 451 B

1234567891011121314151617
  1. 'use strict';
  2. const _importLazy = require('import-lazy');
  3. const importLazy = _importLazy(require);
  4. /** @type {typeof import('stylelint').formatters} */
  5. const formatters = {
  6. compact: importLazy('./compactFormatter'),
  7. json: importLazy('./jsonFormatter'),
  8. string: importLazy('./stringFormatter'),
  9. tap: importLazy('./tapFormatter'),
  10. unix: importLazy('./unixFormatter'),
  11. verbose: importLazy('./verboseFormatter'),
  12. };
  13. module.exports = formatters;