Closed interglobalmedia closed 7 years ago
Replace gulp.src('./app/assets/styles/**/*.css')
to gulp.src(['./app/assets/styles/**/*.css', '!_*'])
, or something to exclude _
-files from compiling.
By the way, I suggest you to use Stylelint. It is more popular, than CSSLint (Facebook, Wikipedia, GitHub uses Stylelint). And it supports all PostCSS features (because based on same PostCSS).
Thanks @ai! I will give it a try.
@ai Stylelint is much better. Thanks for suggesting! Also added brackets at your suggestion. postcss-simple-vars working now.
Hi,
I am getting
Undefined variable $mainYellow
using postcss-simple-vars. This is my package.json:This is my gulpfile.js:
This is my _variables.css:
CSSLint gives me:
This is what I get in Terminal:
My styles.css file:
I am using Node.JS 7.6.0 and NPM 4.1.2
Thanks in advance for your help!
Best regards,
Maria