index.js 493 B

123456789101112131415161718
  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. github: importLazy('./githubFormatter'),
  8. json: importLazy('./jsonFormatter'),
  9. string: importLazy('./stringFormatter'),
  10. tap: importLazy('./tapFormatter'),
  11. unix: importLazy('./unixFormatter'),
  12. verbose: importLazy('./verboseFormatter'),
  13. };
  14. module.exports = formatters;