automatically switch syntax by file extensions#207
automatically switch syntax by file extensions#207gucong3000 wants to merge 1 commit intopostcss:masterfrom
Conversation
|
I'm not sure that I like the idea of this. You always have to install the correct parser/syntax for the file you're dealing with, so I don't see the point of not requiring config to use them. That just makes the dependency implicit vs. explicit. |
|
I want try to if it's possible to use this project instead of stylelint's CLI. postcss src/**/* -u stylelintMost parser/syntax are installed in stylelint. |
How about install built-in some of the most commonly used parser/syntax? |
3a67652 to
199f6d7
Compare
|
|
I've chosen three smallest packages for you. |
@ai I think we should do something for this. |
|
I agree with @gucong3000. I can’t find a popular case when you don’t need a “There is no dumb users, there is only bad UX” :D
Nope. it is PostCSS Core, which is JS API. Look for Autoprefixer. It has a lot of “convention over configuration”.
I think the biggest our mistake in PostCSS was not to create some PostCSS Pack with best practice and plugins set. Most of the users will have some out-of-box solution. The other will use Core with own plugins. Unfortunately, users are really bad with selecting plugins. Most just don’t know about other solutions. |
|
There is some information for postcss syntaxes.
|
9ca5c96 to
741c642
Compare
741c642 to
88ff080
Compare



Uh oh!
There was an error while loading. Please reload this page.