postcss / postcss-cli

CLI for postcss
Other
840 stars 93 forks source link

Warn about no config or empty plugins #225

Closed ai closed 6 years ago

ai commented 6 years ago

To bring a better onboard experience we should warn about the wrong config on:

  1. No plugins are selected
  2. Parser === stringifier

I found a case in PostCSS gitter chat when the user was confused.

RyanZim commented 6 years ago

Yeah, good point. PR welcome (or I'll probably get to it sometime). Shouldn't warn unless both conditions are true, because they might be transpiling .sss to .css.

ai commented 6 years ago

Yeap, perfect task for junior developers.

I will send developers from Evil Martian’s Cult of Martians.

ai commented 6 years ago

Hm. I will do it in PostCSS core.

ai commented 6 years ago

Done https://github.com/postcss/postcss/commit/049d3fbfd1c0bcc1b94d8503f48f22d60613a3fe

ai commented 6 years ago

Will be released in PostCSS 7