-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Does tailwind automatically use stylelinter? I seem to have come across an issue in my gulp setup with postcss. Having done some debugging and tracking down it seems to be tailwind within my postcss processes causing the issue;
So here is my postcss process code;
tailwindcss('tailwind.js'),
autoprefixer({browsers:['last 2 versions', 'IE 9', 'Safari 8']}),
csssort({
"properties-order": "alphabetical",
})
];
I have a work-in-progress .stylelintrtc file that contains a few comments and I wasn’t ready to use it, hence nothing else in gulp setup requests stylelint etc. but I am getting the following error, I believe becuase my .stylelintrtc file contains comments.
Sure I can remove these, but I wondered as to why it was even finding the file, when there is no mention to use it within my gulp config.
After trial and error
AMLException: end of the stream or a document separator is expected in "/Users/terryupton/Dropbox/Amasci/Websites/ZZZ_boilerplate-tailwind/boilerplate-tailwind.loc/.stylelintrc" at line 171, column 1:
I found by removing the tailwindcss('tailwind.js'), from the processes the error didn’t occur.
An easy fix as I can either remove the comments or rename the .stylelintrtc file until I am ready, but wanted understand as to why this is occurring? Anyone able to shed some light?
Thanks.