0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 01:11:24 +01:00
svelte/test/validator/samples
2021-07-08 11:24:22 -04:00
..
a11y-alt-text fix erroneous a11y warning with input type='image' (#3331) 2019-08-02 12:24:07 -04:00
a11y-anchor-has-content fix(a11y): do not warn if href value is dynamic (#6110) 2021-04-30 11:55:38 -04:00
a11y-anchor-in-svg-is-valid rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-anchor-is-valid a11y: do not warn about <a name> / <a id> (#4739) 2020-04-29 15:42:11 -04:00
a11y-aria-props rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-aria-role rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-aria-unsupported-element rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-contenteditable-element-without-child skip a11y-missing-content check with contenteditable bindings (#5023) 2020-06-23 16:06:05 -04:00
a11y-figcaption-in-non-element-block a11y: implement img-redundant-alt (#4750) 2020-05-03 12:06:10 -04:00
a11y-figcaption-right-place a11y: implement img-redundant-alt (#4750) 2020-05-03 12:06:10 -04:00
a11y-figcaption-wrong-place a11y: implement img-redundant-alt (#4750) 2020-05-03 12:06:10 -04:00
a11y-heading-has-content rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-html-has-lang update validate tests 2019-03-15 22:44:30 -04:00
a11y-iframe-has-title update validate tests 2019-03-15 22:44:30 -04:00
a11y-img-redundant-alt fix exception with empty alt attribute (#4778) 2020-05-04 11:23:04 -04:00
a11y-in-foreign-namespace add foreign namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 2021-01-25 16:25:10 -05:00
a11y-label-has-associated-control add a11y-label-has-associated-control check (#5074) 2020-08-05 11:57:20 -04:00
a11y-media-has-caption Remove caption warning on <audio> (#6054) 2021-07-02 12:02:02 -07:00
a11y-mouse-events-have-key-events a11y: check if mouse events are accompanied by key events (#5938) 2021-06-28 12:50:52 +02:00
a11y-no-access-key rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-no-autofocus rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-no-distracting-elements rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-not-on-components update tests 2019-02-08 09:32:36 -05:00
a11y-scope rename .html files to .svelte 2019-02-08 08:48:10 -05:00
a11y-tabindex-no-positive update validate tests 2019-03-15 22:44:30 -04:00
action-invalid augment warnings to help people figure out they need to add a <script> 2019-03-16 10:19:25 -04:00
action-object fix missing-declaration warning for use:obj.method (#5454) 2020-09-24 09:48:27 -04:00
action-on-component update tests 2019-02-08 09:32:36 -05:00
animation-duplicate rename .html files to .svelte 2019-02-08 08:48:10 -05:00
animation-missing update validate tests 2019-03-15 22:44:30 -04:00
animation-not-in-each fixed typo in each loop animation error (#5648) 2020-11-05 19:06:53 -08:00
animation-not-in-keyed-each fixed typo in each loop animation error (#5648) 2020-11-05 19:06:53 -08:00
animation-siblings fixed typo in each loop animation error (#5648) 2020-11-05 19:06:53 -08:00
attribute-expected-equals Add error for missing equals after attribute name 2019-05-15 18:11:27 +02:00
attribute-invalid-name prevent illegal attribute names at compile time (#4650) 2020-04-23 10:18:03 -04:00
attribute-invalid-name-2 prevent illegal attribute names at compile time (#4650) 2020-04-23 10:18:03 -04:00
attribute-invalid-name-3 prevent illegal attribute names at compile time (#4650) 2020-04-23 10:18:03 -04:00
attribute-invalid-name-4 prevent illegal attribute names at compile time (#4650) 2020-04-23 10:18:03 -04:00
attribute-invalid-name-5 prevent illegal attribute names at compile time (#4650) 2020-04-23 10:18:03 -04:00
await-component-is-used rename .html files to .svelte 2019-02-08 08:48:10 -05:00
await-no-catch Don't show 'Empty block' warnings for non-existent await branches 2019-04-27 21:49:55 +02:00
await-shorthand-no-catch Don't show 'Empty block' warnings for non-existent await branches 2019-04-27 21:49:55 +02:00
await-shorthand-no-then add await catch shorthand (#4490) 2020-04-20 09:27:21 -04:00
binding-await-catch disallow binding variables declared in await and catch 2020-01-16 22:16:06 -05:00
binding-await-then disallow binding variables declared in await and catch 2020-01-16 22:16:06 -05:00
binding-await-then-2 disallow binding variables declared in await and catch 2020-01-16 22:16:06 -05:00
binding-const throw compiler error when binding directly to const variables (#4506) 2020-03-14 16:15:37 -04:00
binding-const-field throw compiler error when binding directly to const variables (#4506) 2020-03-14 16:15:37 -04:00
binding-dimensions-svg update validate tests 2019-03-15 22:44:30 -04:00
binding-dimensions-svg-child update validate tests 2019-03-15 22:44:30 -04:00
binding-dimensions-void update validate tests 2019-03-15 22:44:30 -04:00
binding-input-checked update validate tests 2019-03-15 22:44:30 -04:00
binding-input-type-boolean update validate tests 2019-03-15 22:44:30 -04:00
binding-input-type-dynamic update validate tests 2019-03-15 22:44:30 -04:00
binding-invalid update validate tests 2019-03-15 22:44:30 -04:00
binding-invalid-foreign-namespace add foreign namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 2021-01-25 16:25:10 -05:00
binding-invalid-on-element update validate tests 2019-03-15 22:44:30 -04:00
binding-invalid-value rename .html files to .svelte 2019-02-08 08:48:10 -05:00
binding-invalid-value-global disallow bindings to global variables (#2295) 2019-03-26 13:46:28 -04:00
binding-let better error for bindings to let: values - fixes #2301 2019-04-13 16:12:06 -04:00
binding-select-multiple-dynamic update validate tests 2019-03-15 22:44:30 -04:00
catch-declares-error-variable add Error to known globals, declare catch block parameter. fixes #3064 2019-06-24 18:09:01 -04:00
component-dynamic warn if component is expected to be reactive (#4409) 2020-02-15 12:33:33 -05:00
component-event-modifiers-invalid support once modifier on component events, fail on others (#2987) 2019-06-09 17:34:02 -04:00
component-name-lowercase warn for possible use of component without uppercase tag name (#5302) 2020-09-29 16:13:23 -04:00
component-namespaced failing missing-declaration test 2019-05-12 14:25:44 -04:00
component-slot-default-duplicate.skip rename .html files to .svelte 2019-02-08 08:48:10 -05:00
component-slot-default-reserved rename .html files to .svelte 2019-02-08 08:48:10 -05:00
component-slot-dynamic rename .html files to .svelte 2019-02-08 08:48:10 -05:00
component-slot-dynamic-attribute update tests 2019-02-08 09:32:36 -05:00
component-slot-named-duplicate.skip rename .html files to .svelte 2019-02-08 08:48:10 -05:00
component-slotted-custom-element complain if named slots other than direct descendant of component (#4509) 2020-03-15 05:54:06 -04:00
component-slotted-custom-element-2 complain if named slots other than direct descendant of component (#4509) 2020-03-15 05:54:06 -04:00
component-slotted-each-block complain if named slots other than direct descendant of component (#4509) 2020-03-15 05:54:06 -04:00
component-slotted-if-block complain if named slots other than direct descendant of component (#4509) 2020-03-15 05:54:06 -04:00
contenteditable-dynamic add some docs, rename to textContent and innerHTML 2019-06-24 13:00:16 -04:00
contenteditable-missing oops 2019-06-24 13:34:18 -04:00
css-invalid-global-placement rename .html files to .svelte 2019-02-08 08:48:10 -05:00
css-invalid-global-placement-2 fix: :global(...):some-pseudoclass should be considered global (#6317) 2021-06-22 11:03:08 -04:00
css-invalid-global-placement-3 :global() with pseudo element should be considered as global (#6470) 2021-06-29 10:45:29 -04:00
css-invalid-global-selector standalone :global() with multiple selectors shouldn't be treated as error (#6508) 2021-07-08 11:24:22 -04:00
css-invalid-global-selector-2 only check selector that are direct children of :global (#6435) 2021-06-29 15:08:58 +08:00
css-invalid-global-selector-3 only check selector that are direct children of :global (#6435) 2021-06-29 15:08:58 +08:00
css-invalid-global-selector-4 only check selector that are direct children of :global (#6435) 2021-06-29 15:08:58 +08:00
css-invalid-global-selector-5 standalone :global() with multiple selectors shouldn't be treated as error (#6508) 2021-07-08 11:24:22 -04:00
css-invalid-global-selector-6 standalone :global() with multiple selectors shouldn't be treated as error (#6508) 2021-07-08 11:24:22 -04:00
debug-invalid-args rename .html files to .svelte 2019-02-08 08:48:10 -05:00
default-export rename .html files to .svelte 2019-02-08 08:48:10 -05:00
default-export-anonymous-class update periscopic (#6471) 2021-06-29 10:44:54 -04:00
default-export-anonymous-function update periscopic (#6471) 2021-06-29 10:44:54 -04:00
directive-non-expression rename .html files to .svelte 2019-02-08 08:48:10 -05:00
dollar-dollar-global-in-markup disallow global references to $$-prefixed vars 2019-08-04 09:22:14 -04:00
dollar-dollar-global-in-script disallow global references to $$-prefixed vars 2019-08-04 09:22:14 -04:00
dollar-global-in-markup disallow global references to $$-prefixed vars 2019-08-04 09:22:14 -04:00
dollar-global-in-script disallow global references to $$-prefixed vars 2019-08-04 09:22:14 -04:00
each-block-destructured-object-rest-comma-after dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
each-block-invalid-context rename .html files to .svelte 2019-02-08 08:48:10 -05:00
each-block-invalid-context-destructured dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
each-block-invalid-context-destructured-object dry {#each}/{#await} destructuring (#4596) 2020-05-11 11:37:27 -04:00
each-block-multiple-children Updated to ESLint config 5.4.0 (#5541) 2020-10-21 15:23:08 -07:00
empty-block update validate tests 2019-03-15 22:44:30 -04:00
event-modifiers-invalid Add trusted modifier (#6149) 2021-06-27 18:48:42 +02:00
event-modifiers-invalid-nonpassive add nonpassive event modifier (#5442) 2020-09-24 15:54:54 -04:00
event-modifiers-invalid-passive rename .html files to .svelte 2019-02-08 08:48:10 -05:00
event-modifiers-legacy Updated to ESLint config 5.4.0 (#5541) 2020-10-21 15:23:08 -07:00
event-modifiers-redundant rename .html files to .svelte 2019-02-08 08:48:10 -05:00
ignore-warning disable validation with magic comments 2019-08-04 10:58:43 -04:00
ignore-warnings disable validation with magic comments 2019-08-04 10:58:43 -04:00
ignore-warnings-cumulative disable validation with magic comments 2019-08-04 10:58:43 -04:00
ignore-warnings-newline disable validation with magic comments 2019-08-04 10:58:43 -04:00
ignore-warnings-stacked disable validation with magic comments 2019-08-04 10:58:43 -04:00
import-meta update acorn and parse expression as module script (#5423) 2020-09-18 12:09:44 -04:00
invalid-empty-css-declaration error on empty css declarations - fixes #3801 2019-10-28 10:38:46 -04:00
missing-component augment warnings to help people figure out they need to add a <script> 2019-03-16 10:19:25 -04:00
missing-component-global Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071) 2019-12-09 09:15:49 -05:00
missing-custom-element-compile-options tweak text of warning 2019-10-24 21:47:05 -04:00
module-script-reactive-declaration Warn on improper use of reactive declarations 2019-05-05 15:34:57 +02:00
multiple-script-default-context rename .html files to .svelte 2019-02-08 08:48:10 -05:00
multiple-script-module-context rename .html files to .svelte 2019-02-08 08:48:10 -05:00
namespace-invalid rename .html files to .svelte 2019-02-08 08:48:10 -05:00
namespace-invalid-unguessable rename .html files to .svelte 2019-02-08 08:48:10 -05:00
namespace-non-literal rename .html files to .svelte 2019-02-08 08:48:10 -05:00
non-empty-block-dev Updated to ESLint config 5.4.0 (#5541) 2020-10-21 15:23:08 -07:00
reactive-declaration-cyclical fix reactive declaration cycle detection + clearer error on cycle 2019-09-06 10:12:40 -03:00
reactive-declaration-non-top-level Warn on improper use of reactive declarations 2019-05-05 15:34:57 +02:00
reactive-module-variable warn module variables are nonreactive and make them truly nonreactive (#5847) 2021-01-29 15:05:04 -05:00
ref-not-supported rename .html files to .svelte 2019-02-08 08:48:10 -05:00
ref-not-supported-in-css rename .html files to .svelte 2019-02-08 08:48:10 -05:00
script-invalid-context rename .html files to .svelte 2019-02-08 08:48:10 -05:00
select-multiple update validate tests 2019-03-15 22:44:30 -04:00
slot-attribute-invalid complain if named slots other than direct descendant of component (#4509) 2020-03-15 05:54:06 -04:00
svelte-slot-placement implement <svelte:fragment> (#4556) 2021-02-27 12:43:53 -05:00
svelte-slot-placement-2 implement <svelte:fragment> (#4556) 2021-02-27 12:43:53 -05:00
svg-child-component-declared-namespace update validate tests 2019-03-15 22:44:30 -04:00
tag-custom-element-options-missing tests: validator: add support for customElement compile option + test cases (#4133) 2019-12-23 14:06:41 -05:00
tag-custom-element-options-true tests: validator: add support for customElement compile option + test cases (#4133) 2019-12-23 14:06:41 -05:00
tag-invalid rename .html files to .svelte 2019-02-08 08:48:10 -05:00
tag-non-string rename .html files to .svelte 2019-02-08 08:48:10 -05:00
textarea-value-children rename .html files to .svelte 2019-02-08 08:48:10 -05:00
title-no-attributes rename .html files to .svelte 2019-02-08 08:48:10 -05:00
title-no-children rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-in rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-in-transition rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-out rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-out-transition rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-transition rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-transition-in rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-duplicate-transition-out rename .html files to .svelte 2019-02-08 08:48:10 -05:00
transition-missing augment warnings to help people figure out they need to add a <script> 2019-03-16 10:19:25 -04:00
transition-on-component update tests 2019-02-08 09:32:36 -05:00
undefined-value don't warn when using each index in key (#3274) 2019-08-03 00:30:38 -04:00
undefined-value-global warn on template references to global variables (#2295) 2019-03-26 13:51:44 -04:00
unreferenced-variables remove quotes from code suggestion 2020-01-08 10:07:10 -05:00
use-the-platform warn if React attributes are used (#5836) 2021-01-01 19:49:03 -05:00
window-binding-invalid rename .html files to .svelte 2019-02-08 08:48:10 -05:00
window-binding-invalid-innerwidth rename .html files to .svelte 2019-02-08 08:48:10 -05:00
window-binding-invalid-value rename .html files to .svelte 2019-02-08 08:48:10 -05:00
window-binding-invalid-width rename .html files to .svelte 2019-02-08 08:48:10 -05:00
window-binding-online update validate tests 2019-03-15 22:44:30 -04:00