Open DenisIzmaylov opened 7 years ago
ΠΠ°ΠΏΠΈΡΠ°Π» ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠΉ ΠΏΡΠΈΠΌΠ΅Ρ Ρ ΠΊΠΎΠ½ΡΠΈΠ³ΠΎΠΌ postcss, ΠΈ ΡΠ΅Π½Π΄Π΅ΡΠΎΠΌ React ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ.
ΠΠ»Ρ Π·Π°ΠΏΡΡΠΊΠ° Π²Π½ΡΡΡΠΈ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π° Π½ΡΠΆΠ½ΠΎ Π²ΡΠΏΠΎΠ»Π½ΠΈΡΡ npm install
ΠΈ npm run start
.
https://github.com/axept/jss-from-postcss/tree/master/examples/basic
here is my .postcssrc
{
"plugins": {
"stylelint": {},
"postcss-import": {},
"postcss-url": {},
"cssnano": {},
"postcss-browser-reporter": {
"selector": "@global body:before"
},
"postcss-reporter": {
"clearMessages": true
}
}
}
@noahehall thank you! It seems we could add with extended examples to https://github.com/axept/prejss-example-app
Definitely - i can submit a pull request,
however, i've updated it a bit, so that the the reporter is logging stylelint issues, but it is not showing the filename with the errors - see below, all errors come from 'input css'
Would be amazing great!
Good point about source file. As I know it's pretty simple to add it.
Or even include default preset?
I meant plugins like "nested", etc.