index.js 569 B

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