Commit Graph

198 Commits (b3364424d7d454640045f352314eec63b73bf040)

Author SHA1 Message Date
André Lins 07242f994c
a11y: do not warn about <a name> / <a id> (#4739)
4 years ago
Kalan 56d1af493b
a11y: warn about href="javascript:..." (#4733)
4 years ago
Daniel Imfeld ddfb751fc9
prevent illegal attribute names at compile time (#4650)
4 years ago
Tan Li Hau 77ec48deba
add await catch shorthand (#4490)
4 years ago
Tan Li Hau 5bb5ba4c76
complain if named slots other than direct descendant of component (#4509)
5 years ago
vlasy e06a900b23
throw compiler error when binding directly to const variables (#4506)
5 years ago
Tan Li Hau fdc89ebb62
warn if component is expected to be reactive (#4409)
5 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing (#4390)
5 years ago
Tan Li Hau 527ddea289 disallow binding variables declared in await and catch
5 years ago
burningTyger b9368d5de4 remove quotes from code suggestion
5 years ago
David Kondrad 6b5a4870df tests: validator: add support for customElement compile option + test cases (#4133)
5 years ago
Benjamin W. Broersma 3433418dce Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071)
5 years ago
Conduitry e996ef750d fix warnings for props that are only used as stores (#4021)
5 years ago
Richard Harris 74fa2447b1 error on empty css declarations - fixes #3801
5 years ago
Tan Li Hau 81c5c480e8 feat: warn unused exports
5 years ago
Richard Harris ad0e8670ca tweak text of warning
5 years ago
Tan Li Hau cfd3b63b9b warn if using svelte:options tag without compile_options.customElement
5 years ago
Tan Li Hau 5dbb08d19b allow solo for test suite (#3747)
5 years ago
Colin Casey ee8825d34f fix reactive declaration cycle detection + clearer error on cycle
5 years ago
Samuel Elgozi 7342d484f1 feat: #3372 added a new `self` event modifier
5 years ago
Rich Harris e41a4846c3
Merge pull request #3348 from sveltejs/gh-3272
5 years ago
Richard Harris e3e3ad9be0 disable validation with magic comments
5 years ago
Richard Harris 46cd6ff370 disallow global references to $$-prefixed vars
5 years ago
Richard Harris 4c8f3a296c throw error if $ is referenced as global - fixes #3272
5 years ago
Rich Harris cf24dbd6a9
Merge pull request #3336 from Conduitry/gh-3274
5 years ago
Conduitry c04def9081 don't warn when using each index in key (#3274)
5 years ago
Conduitry 276eb8e553 fix erroneous a11y warning with input type='image' (#3331)
5 years ago
Rich Harris 1fc4b1c867 add Error to known globals, declare catch block parameter. fixes #3064
5 years ago
Rich Harris 4e8755338a oops
5 years ago
Rich Harris 86c5086c54 add some docs, rename to textContent and innerHTML
5 years ago
Richard Harris 8d25f5da0a Merge branch 'master' of https://github.com/leporo/svelte
5 years ago
Rich Harris 1102ff6426
support once modifier on component events, fail on others (#2987)
5 years ago
Rich Harris c1960f9ef8
Merge branch 'master' into master
5 years ago
James Garbutt caebe0deb8 Introduce ESLint to svelte sources (#2958)
5 years ago
Vlad Glushchuk 450464f014 Add bind:text and bind:html support for contenteditable elements
5 years ago
Emil Tholin 3f31223186 Add error for missing equals after attribute name
5 years ago
Rich Harris f9a66e558b failing missing-declaration test
5 years ago
Emil Tholin 0286dce026 Warn on improper use of reactive declarations
5 years ago
Rich Harris 78332cf5b0
Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
5 years ago
Rich Harris 16dbb8f437
Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
5 years ago
Emil Tholin 97ee67c08f Add support for object-rest in each destructuring
5 years ago
Emil Tholin 6ebd72fc22 Check if a figcaption's first element ancestor is a figure
5 years ago
Emil Tholin 7ec1bdb712 Don't show 'Empty block' warnings for non-existent await branches
5 years ago
Richard Harris cd0f535d83 better error for bindings to let: values - fixes #2301
6 years ago
Richard Harris 30c8fe0c6e allow reactive declarations without dependencies - fixes #2285
6 years ago
Rich Harris a59cd36a39
Merge pull request #2321 from sveltejs/gh-2295
6 years ago
Conduitry ecd7c6e9aa warn on template references to global variables (#2295)
6 years ago
Conduitry fa79a72348 disallow bindings to global variables (#2295)
6 years ago
Rich Harris 16106d113d handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
6 years ago
Richard Harris 34c4f79998 augment warnings to help people figure out they need to add a <script>
6 years ago