-
Notifications
You must be signed in to change notification settings - Fork 61
Support ignoring rules outside of TTL #67
Support ignoring rules outside of TTL #67
Conversation
I quite like this approach as we don't have to do much and can let stylelint handle everything! 😜 |
Haha yes, that's the plan! ^^ |
75527ad
to
c68b42d
Compare
b0e21b9
to
0a110e4
Compare
Hmmm... I'm ready for review, but prettier is acting up, it really doesn't like Travis CI was failing because of it, so I let prettier do it's thing, but while it on the one hand onelines a lot of the css that just has one declaration (which I guess works, but isn't that neat) the really bad thing is it adds semicolons in plain wrong places that probably breaks the tests (we'll see in a sec <.<). I think the easiest thing is to maybe just make prettier ignore the fixtures folder where we keep all our |
7aa4f1e
to
2968453
Compare
Okay I implemented my proposed exclusion of Feel free to tell me to reverse the prettier exclusion if you want. I'll go get some dinner and come back to hopefully see a passed travis build :). |
2968453
to
2ada183
Compare
Okay... Going to dinner now! And this time it'll work :P. I had missed also changing |
Okay, now I'm just really confused. I need some help with this I'm afraid, Travis says |
@emilgoldsmith I've checked out your branch, and for me it fails where it fails for travis as well,
From the root of the project. That fixed it for me. Don't know if you want me to commit this to your branch, so I'm listing it here. No idea why it doesn't fail on your machine though. Maybe a different version of prettier? |
Hey @ismay thanks, yeah tried
and then it suddenly found it. Mysterious indeed. I do believe that I have upgraded my node and npm versions since first installing the repo, so that could possibly be the issue (as in it was installed with different node version?) that kind of stuff sometimes causes issues. But definitely was mysterious! When I did |
Yay! Finally :P. Yep, so this is now, finally, 100% ready for review. |
ef173d6
to
cb19500
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome, amazing job! 👏
Can't find anything I'd like to change, @ismay?
Nope, me neither, looks really good. Great job @emilgoldsmith ! |
Somebody publish a new version? I'm not setup locally right now 😊 |
Don't we need some kind of permissions for that? |
Remember to publish the newest version at some point :). If you want I can also do it if you give me permissions, up to you, I'm also |
@emilgoldsmith We have permissions now:
|
Awesome, well, in that case I guess I'll go ahead and publish what we have now! |
Done! And just pushed a v0.2.0 tag as well. For the future maybe we shouldn't update the package.json beforehand as we did in #60 as then we can't use tools like So just did it manually this time :). |
This would resolve #64
I know I'm bombarding with PRs at the moment @ismay haha, don't worry I'm not in a hurry, just guess I got a bit motivated and excited ;).
This is still a WIP, especially tests, but I thought I would just put this here as a complement to #64 so you could see what my idea was.
A few thoughts I had / decisions I made:
// comment
which it wouldn't in normal CSS as we convert them all to/* comment */
comments which I guess I'm also quite fine with if people prefer that that they have that possibility.Todo:
stylelint-disable-line
andstylelint-disable-next-line
as they should only be used within css blocks