Commit Graph

184 Commits (2e4db173033f3e1e73af164e90619100f679594a)

Author SHA1 Message Date
Tan Li Hau 7c037a304d feat: warn unused exports
7 years ago
Richard Harris 2fb869deab tweak text of warning
7 years ago
Tan Li Hau 1d0bd1a802 warn if using svelte:options tag without compile_options.customElement
7 years ago
Tan Li Hau b502ec0afc allow solo for test suite (#3747)
7 years ago
Colin Casey 1ee8820148 fix reactive declaration cycle detection + clearer error on cycle
7 years ago
Samuel Elgozi 96115d5346 feat: #3372 added a new `self` event modifier
7 years ago
Rich Harris a96ba1ffa2 Merge pull request #3348 from sveltejs/gh-3272
7 years ago
Richard Harris 6042fa02ea disable validation with magic comments
7 years ago
Richard Harris 4223bd393c disallow global references to $$-prefixed vars
7 years ago
Richard Harris 6056f133d4 throw error if $ is referenced as global - fixes #3272
7 years ago
Rich Harris 342154d593 Merge pull request #3336 from Conduitry/gh-3274
7 years ago
Conduitry 505717e636 don't warn when using each index in key (#3274)
7 years ago
Conduitry 457497efe5 fix erroneous a11y warning with input type='image' (#3331)
7 years ago
Rich Harris a1f5bb96b7 add Error to known globals, declare catch block parameter. fixes #3064
7 years ago
Rich Harris f32e1e19c6 oops
7 years ago
Rich Harris 204766ec0a add some docs, rename to textContent and innerHTML
7 years ago
Richard Harris 3bb160571c Merge branch 'master' of https://github.com/leporo/svelte
7 years ago
Rich Harris e69e891691 support once modifier on component events, fail on others (#2987)
7 years ago
Rich Harris 6cc03f873c Merge branch 'master' into master
7 years ago
James Garbutt 11ced4a257 Introduce ESLint to svelte sources (#2958)
7 years ago
Vlad Glushchuk bf0d66175b Add bind:text and bind:html support for contenteditable elements
7 years ago
Emil Tholin 3b163fe341 Add error for missing equals after attribute name
7 years ago
Rich Harris 2a54d14f1a failing missing-declaration test
7 years ago
Emil Tholin 9d237f9f4b Warn on improper use of reactive declarations
7 years ago
Rich Harris 3364ba22cf Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
7 years ago
Rich Harris acc4dfd293 Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
7 years ago
Emil Tholin f1d8b480fa Add support for object-rest in each destructuring
7 years ago
Emil Tholin 7da6ef68bc Check if a figcaption's first element ancestor is a figure
7 years ago
Emil Tholin 227a08fc59 Don't show 'Empty block' warnings for non-existent await branches
7 years ago
Richard Harris 3201e717df better error for bindings to let: values - fixes #2301
7 years ago
Richard Harris 6b1067e8c1 allow reactive declarations without dependencies - fixes #2285
7 years ago
Rich Harris 686384d50e Merge pull request #2321 from sveltejs/gh-2295
8 years ago
Conduitry 7208a07023 warn on template references to global variables (#2295)
8 years ago
Conduitry 5c97df6b84 disallow bindings to global variables (#2295)
8 years ago
Rich Harris 1447064eb5 handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
8 years ago
Richard Harris 83520fbb3a augment warnings to help people figure out they need to add a <script>
8 years ago
Richard Harris 5f053325c0 update validate tests
8 years ago
Conduitry 6e04e840f9 update tests
8 years ago
Rich Harris 893a1876a1 Add a tutorial (#2132)
8 years ago
Richard Harris 5ceff3bb97 move warnings out of stats
8 years ago
Richard Harris 1146df5595 remove onwarn option, just use stats.warnings instead
8 years ago
Richard Harris af7d4332a5 always warn on empty block - fixes #2042
8 years ago
Rich Harris 8f730d524f update tests
8 years ago
Rich Harris 04c9ecb72a rename .html files to .svelte
8 years ago
Rich Harris 18747ad6d8 better cyclical dependency detection - fixes #2055
8 years ago
Conduitry 819664cbfd rename `<svelte:meta>` to `<svelte:options>` (#2017)
8 years ago
Conduitry 72f95daa55 disallow `slot` as a prop name in inline components (#2019)
8 years ago
Rich Harris 4d25d93ea0 Overhaul stats — closes #1891
8 years ago
Rich Harris 69c9422907 Better composition — implements https://github.com/sveltejs/rfcs/pull/12
8 years ago
Richard Harris 7c0413bd2c always use stats.warn instead of options.onwarn - fixes #1918
8 years ago