Commit Graph

171 Commits (9752ba79a7cb0e9fe8b81c379b6cbaca904cd7a7)

Author SHA1 Message Date
Admin cadaca24c7 Adds debug all option to debug tag
8 years ago
Admin ad3bc077e5 Adds validation for invalid reference names like foo-bar.
8 years ago
Christian Kaisermann b5ff260353 Add refs.* to valid event handler callees warning message
8 years ago
Conduitry 141f4a052b update some stray references to v1 syntax
8 years ago
Rich Harris f3475cd4fd add animation validation tests
8 years ago
Rich Harris 619c6b9bec prevent bind:offsetWidth etc on void elements
8 years ago
Rich Harris 14b6f8bb67 add validation logic, error on dimension bindings for SVG elements
8 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
8 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris ac662d3b92 update test
8 years ago
Rich Harris 62e9f12db0 tidy up
8 years ago
Rich Harris b128399540 fix some more tests
8 years ago
Rich Harris 842e49155c update validation tests
8 years ago
Rich Harris 50533bcefa remove v1 tests
8 years ago
Rich Harris cd0ffa35f6 remove validate and Stylesheet from public API
8 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
8 years ago
Rich Harris 97acdbe30e Merge branch 'master' into gh-1197
8 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
8 years ago
Rich Harris f8801feb2b add codes to errors
8 years ago
Rich Harris 7b1df97d7e add codes to validation errors
8 years ago
Rich Harris 17a20bbe37 add codes to warnings (#474)
8 years ago
Rich Harris 62cbb31844 Merge pull request #1330 from sveltejs/gh-1318
8 years ago
Rich Harris 22bb74413a add validator tests
8 years ago
Rich Harris dd2de33df3 fix #1331
8 years ago
Rich Harris 24238e5778 Merge pull request #1299 from sveltejs/gh-1257
9 years ago
Rich-Harris 0963c226a8 fail validation if bound <select> has dynamic multiple attribute - fixes #1270
9 years ago
Rich-Harris 834824f4c6 include warnings in stats object
9 years ago
Josh Duff 4539466c0c Accept backtick string literals in tag/props properties
9 years ago
Jacob Wright a5ed6cbe18 Adds actions to components
9 years ago
James Birtles 843ff973f6 Fix named-export end position
9 years ago
James Birtles 4bda127108 add end position to errors
9 years ago
James Birtles 3f404eaf99 add end position to warnings
9 years ago
Rich Harris cd62a43102 add test for #1179
9 years ago
Rich Harris 991c9b42ae increase test coverage
9 years ago
Rich Harris 4c6b3b79da increase test coverage, handle immediately-closed blocks
9 years ago
Rich Harris b4edc7c01e doh
9 years ago
Rich Harris 8b6a099ced empty blocks are a dev warning, not an error
9 years ago
Rich Harris b9647ff966 Merge pull request #1106 from sveltejs/gh-1083
9 years ago
Conduitry e85b8edfe7 do not run a11y validation on child component elements (#1110)
9 years ago
Rich Harris 084eb39fbd simplify test slightly, add test for reserved words
9 years ago
Rich Harris ea07020d8a fix expected error position, tweak expected message to include suggested alternative
9 years ago
Rich Harris b76818c6c2 run prettier (spaces -> tabs)
9 years ago
asweingarten 417acc3236 [1083] Svelte should throw a compile time error when illegal characters are used in computed names
9 years ago
Rich Harris 7b0e577a52 validate contents of await blocks (#1061)
9 years ago
Emil Ajdyna d44f922df8 Allow xlink:href attribute
9 years ago
Rich Harris a587fb6303 Merge branch 'master' into gh-1027
9 years ago
Rich Harris 1b2949f572 optimise <title> - fixes #1027
9 years ago
Rich Harris d7e236f7cc warn on unused events/transitions - fixes #1051
9 years ago
Rich Harris d0136fe543 detect unused/misplaced components - closes #1039
9 years ago
Rich Harris 721cf679aa tweak error wording slightly
9 years ago
Emil Ajdyna 2523e47180 Check against this usage in computed functions
9 years ago
Rich Harris 6334899b3d fix figcaption a11y warning - fixes #996
9 years ago
Rich Harris fbc1785e36 allow event handlers to call store methods
9 years ago
Rich Harris dcee5fae69 throw error on illegal context (#934)
9 years ago
Rich Harris 40c3648dfb Increase code coverage
9 years ago
Rich Harris d17e7b309c enable <:Window bind:online/> - fixes #936 (#937)
9 years ago
Rich Harris 91a14091b8 treat quoted property names the same way as identifiers - fixes #914
9 years ago
Conduitry 0c76aff62a allow options.* as event handler callee
9 years ago
Rich Harris 2a689ee40b Merge pull request #854 from sveltejs/gh-782
9 years ago
Rich Harris 4564b9a04b update validation message
9 years ago
Rich Harris 3fc667b18a compile time error on slotted content inside if/each blocks. closes #849
9 years ago
Conduitry ee4a4a8eb0 fix a11y-html-has-lang unit test
9 years ago
Rich Harris aae316ce4f Update input.html
9 years ago
jpsc a40d6dbc69 feat(a11y): add warning missing lang on html tag
9 years ago
Rich Harris fcca63ae81 reenable all tests, fix some failures
9 years ago
Rich Harris 7f5eb2a86a tabindex-no-positive
9 years ago
Rich Harris 688dbdf102 scope
9 years ago
Rich Harris 864bdd90fd no-distracting-elements
9 years ago
Rich Harris 97686302b8 no-autofocus
9 years ago
Rich Harris 275a3ec460 no-access-key
9 years ago
Rich Harris 636016b26c heading-has-content
9 years ago
Rich Harris 3fce4d400f aria-role
9 years ago
Rich Harris 9f2481c90b aria-props
9 years ago
Rich Harris 9f3f35e37b update some tests
9 years ago
Rich Harris 6842c37ab6 anchor-is-valid
9 years ago
Rich Harris defa982029 anchor-has-content
9 years ago
Rich Harris 9e1ae7202c a11y checks (#374)
9 years ago
Rich Harris 6b4f90d4e1 Merge pull request #793 from sveltejs/gh-791
9 years ago
Rich Harris da1c3b3a98 error if component has transition (fixes #791)
9 years ago
Rich Harris be6e778a53 support nested <slot> elements
9 years ago
Rich Harris e0b173ebde validation
9 years ago
Rich Harris 28e5ebac69 validate ref callees (#686)
9 years ago
Rich Harris 3757a853a4 fix tests
9 years ago
Rich Harris 3fae55b199 reduce duplication by moving validation into stylesheet
9 years ago
Rich Harris bd5a09de52 simplify tests
9 years ago
Rich Harris 03271b176e refactoring, and more :global(...) fixes
9 years ago
Rich Harris ae39be8368 Merge pull request #630 from sveltejs/gh-620
9 years ago
Rich Harris e926dc09f4 only enforce static type if input is bound (fixes #620)
9 years ago
Rich Harris 20801f2dc2 warn on missing component (#623)
9 years ago
Rich Harris ecc84fbecf prettierfy test files
9 years ago
Rich Harris ac6bdd4df3 Merge pull request #600 from sveltejs/gh-575
9 years ago
Rich Harris 14936889ae always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575)
9 years ago
Rich Harris e46e631a48 prevent textarea from having both value and children
9 years ago
Conduitry 8cdd4dad8a downgrade invalid callee error for event handlers to a warning (#579)
9 years ago
Rich-Harris 9833dd0174 validate transition directives - closes #564
9 years ago
Rich-Harris 2d7d7fec2a validate <:Window>
9 years ago
Rich-Harris 9e4c78a278 add test
9 years ago
Rich-Harris 8291c53349 include destroy as valid built-in method for event handlers (fixes #523)
9 years ago
Rich-Harris 6ff83a4127 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 5534e565bd validate bindings
9 years ago