Adam Wathan
c678d91fe0
Test that class names in apply directives are escaped
2018-06-04 08:49:36 -04:00
Adam Wathan
bc05473b37
Add dependencies, fix warnings
2018-03-07 09:37:01 -05:00
Adam Wathan
eacc4635b6
Match apply rules against a lookup table instead of searching
2018-02-28 20:34:16 -05:00
Adam Wathan
ec9b9b99bd
Add support for making applied rules important
2017-12-13 13:00:37 -05:00
Adam Wathan
3df41b5e89
Add test to prove cssnext custom property sets are preserved
2017-12-12 07:28:58 -05:00
Jack McDade
c84886e32e
Adjust syntax style to fit standards
2017-12-08 16:15:58 -05:00
Jack McDade
97ef316af8
Prevent @apply from adding !important.
2017-12-08 16:05:54 -05:00
Adam Wathan
538a854a73
Don't allow applying classes that appear in multiple rulesets
...
This can result in unexpected behavior, so explicitly erroring is best.
We can of course add support for this later if we see real value in it
and can come up with predictable rules for how it should work.
2017-11-16 07:54:40 -05:00
Adam Wathan
afee4495d5
Add test to document that applying classes with pseudo-selectors is not supported
2017-11-16 07:52:30 -05:00
Adam Wathan
c4305d0c07
Don't allow @applying classes that ever appear inside of an at-rule
...
This is too complex to easily support; better to explicitly error for
now vs. the current behavior which is just silently doing something
other than you probably expect.
2017-11-10 12:18:20 -05:00
David Hemphill
ec607968cf
Add ESLinting and Prettier formatting and run an initial format on the codebase
2017-11-06 15:00:00 -05:00
Adam Wathan
f80537a85d
Update tests
2017-11-03 10:04:48 -04:00
David Hemphill
4f2713fae6
change to es6 import
2017-10-14 12:12:56 -05:00
David Hemphill
ee1659ab76
prevent rules inside media queries from being used as a mixin
2017-10-14 00:11:19 -05:00