Commit Graph

48 Commits (afd38494b48df458c592b14da461b4b672872abc)

Author SHA1 Message Date
Karl Erik Hofseth afd38494b4
fix: provide a workaround for `unsafe-inline` CSP that also works in Safari () 2 years ago
Nguyen Tran c0363966d3
fix: treat slots as if they don't exist when using CSS adjacent and general sibling combinators () 2 years ago
Ben McCann 5b2fa1f247
chore: upgrade magic-string () 2 years ago
Tan Li Hau d525901556
fix validation for global compound selector () 2 years ago
Roy Choo acbf8135a8
fix: add global compound selector validation () 2 years ago
Valter Kraemer 2a5b488386
fix: empty value attribute selector doesn't produce "Unused CSS selector" warning () 2 years ago
Sid 8921c04a21
[chore] Upgrade css-tree version to 2.1.0 () 2 years ago
Hofer Ivan 0eba57113b
[chore]: store regexp as variable instead of defining it inline () 2 years ago
Tan Li Hau e2ef2b8731
apply class for dynamic elements () 3 years ago
Tan Li Hau 91b20b9c2e
[fix] error when using combinator incorrectly () 3 years ago
Ben McCann 34eb6efedc
[chore] upgrade to eslint 8 () 3 years ago
Yuji Sugiura a068719208
[fix] do not be over-eager in removing unused CSS for dialog[open] () 3 years ago
Tan Li Hau ee769101fc
[fix] applying :global for > combinator () 4 years ago
Tan Li Hau b23d267f1f
[fix] improper :global() style encapsulation () 4 years ago
Tan Li Hau c54d57b0d9
don't scope :root selector () 4 years ago
Maxime LUCE 0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) () 4 years ago
Aleksander Szołowicz 999032835b
fix typos, use shorthanded imports () 4 years ago
Tan Li Hau f60cb22a9d
standalone :global() with multiple selectors shouldn't be treated as error () 4 years ago
Simon H b662c7fd41
[chore] move compiler warnings/errors to dedicate files () 4 years ago
Tan Li Hau fca6a6d38a
:global() with pseudo element should be considered as global () 4 years ago
Ignatius Bagus 8c3fb922d8
only check selector that are direct children of `:global` () 4 years ago
Roy Choo 228832c9a3
fix: :global(...):some-pseudoclass should be considered global () 4 years ago
Tan Li Hau bbcc1e7479
disallow multiple selectors inside :global() () 4 years ago
Tan Li Hau 3d1af7fb68
support :global() in compound selector () 4 years ago
Ben McCann 31cb5206e0 Remove trailing whitespace 4 years ago
Tan Li Hau e8094df779
fix remove of lone :host selectors () 4 years ago
Tan Li Hau 44f41c9edd
fix :host and :global css scoping () 4 years ago
Ben McCann 240f5410f3
Curly brace cleanup and enforcement () 4 years ago
Ben McCann 229a16d6e7
upgrade ESLint config () 5 years ago
Tan Li Hau 3970def5eb
fix sibling combinators with spread attributes () 5 years ago
Tan Li Hau 967b88186b
scope CSS sibling combinators () 5 years ago
Tan Li Hau b5b02f8561
whitelist [open] attribute selector for <details> () 5 years ago
Tan Li Hau 46d423d9db
fix css specificity for child combinator () 5 years ago
Tan Li Hau 7900e3eafa
fix style scoping with > * () 5 years ago
Conduitry be9b79f805
fix detection of unused partially global CSS selectors () 5 years ago
Conduitry e4460e38ba
fix '~=' and class selectors with arbitrary whitespace () 5 years ago
Tan Li Hau c0dab9fefb fix css specificity () 5 years ago
Tan Li Hau 798a47b1da feat unused css selector understands string concat 5 years ago
Jesse Skinner b6798e5221 allow multiple ancestors to be scoped with class () 5 years ago
Rich Harris b9f14846b0
Structured code generation () 6 years ago
Conduitry 3c5ccf6ee5
rework attribute selector matching to not use regexes () 6 years ago
Conduitry 45a54c1aa4 use bindings when matching attribute selector against element () 6 years ago
David Mosher 1909bb43d9 bugfix: exempt the :root selector from prefix 6 years ago
Richard Harris 0fd34b1f41 add scoping attribute for pseudo-class selectors without a type/class - fixes 6 years ago
James Garbutt caebe0deb8 Introduce ESLint to svelte sources () 6 years ago
Lyphon bef6f153db Fix build appveyor build failure 6 years ago
Lyphon ddd4a33f3b Fix 2929 6 years ago
Richard Harris 5161dfb950 update folder structure - 6 years ago