Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

postcss-reporter

postcss5.6mMIT7.1.0TypeScript support: definitely-typed

Log PostCSS messages in the console

readme

postcss-reporter

A PostCSS plugin to console.log() the messages (warnings, etc.) registered by other PostCSS plugins.


SEEKING A NEW MAINTAINER! Interested in contributing to the ecosystem of PostCSS and Stylelint? Please open an issue if you'd like to take over maintenance of this package.


Docs

Read full docs here.

changelog

Changelog

7.1

  • Added better error message support (by Stéphane Goetz).

7.0.5

  • Reduced dependencies (by @onigoetz).

7.0.4

  • Replaced nanocolors with picocolors.
  • Reduced package size.

7.0.3

  • Replaced colorette with nanocolors.

7.0.2

  • Reduced dependencies (by @ludofischer).

7.0.1

  • Moved to PostCSS 8.1.
  • Added funding links.

7.0.0

  • Moved to PostCSS 8.
  • Moved postcss to peerDependencies.

6.0.1

  • Fix support for messages without text (by @nodaguti).

6.0.0

  • Upgrade to PostCSS 7.
  • Drop support for Node 4.

5.0.0

  • Move PostCSS from peerDependencies to dependencies.
  • Drop support for Node 0.12.

4.0.0

  • Upgrade to PostCSS v6. (If you still use PostCSS v5, stick with v3 until you can upgrade your PostCSS.)
  • Switched PostCSS to a peer dependency.

3.0.0

  • Replace clearMessages option with clearReportedMessages and clearAllMessages.

2.0.0

  • Only log warning messages (type: "warning") by default.

1.4.1

  • Add filter option.
  • Add blacklist functionality to plugins option with ! prefix`.

1.3.3

  • Fix regression that caused positions from sources without incoming sourcemaps not to be logged.

1.3.2

  • Find more accurate positions of preprocessed files with sourcemaps.

1.3.1

  • Fix Windows path bug.

1.3.0

  • Check individual messages for distinct sources, then group messages by those sources, instead of always using the PostCSS Result's source.
  • Output empty string from formatter if there are no messages, instead of undefined.

1.2.1

  • Handle variable and absent input sources.

1.2.0

  • Add noIcon and noPlugin options to both reporter and formatter.

1.1.0

  • Use PostCSS 5's line/column properties on warnings, instead of relying on the source node.

1.0.0

  • Upgrade to PostCSS 5.

0.4.0

  • Add positionless option (to both the reporter and the formatter), with default value "first".
  • Cleaner npm install (files specified in package.json).

0.3.1

  • Remove leftover debugging log statement.

0.3.0

  • Add sortByPosition option (to both the reporter and the formatter), with default value true.

0.2.0

  • Alter defaultFormatter to use warning symbol and not repeat # postcss-reporter.

0.1.0

  • First release.