You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/validator/samples
Dominik G ee480bded6
[fix] only read static value for rel attribute validation (#8003)
2 years ago
..
a11y-alt-text fix erroneous a11y warning with input type='image' (#3331) 5 years ago
a11y-anchor-has-content fix(a11y): do not warn if href value is dynamic (#6110) 4 years ago
a11y-anchor-in-svg-is-valid rename .html files to .svelte 6 years ago
a11y-anchor-is-valid a11y: do not warn about <a name> / <a id> (#4739) 5 years ago
a11y-aria-props rename .html files to .svelte 6 years ago
a11y-aria-proptypes-boolean [feat]: Add A11y aria-proptypes check (#6978) 2 years ago
a11y-aria-proptypes-integer [feat]: Add A11y aria-proptypes check (#6978) 2 years ago
a11y-aria-proptypes-number [feat]: Add A11y aria-proptypes check (#6978) 2 years ago
a11y-aria-proptypes-string [feat]: Add A11y aria-proptypes check (#6978) 2 years ago
a11y-aria-proptypes-token [chore] fix spelling and typos (#7974) 2 years ago
a11y-aria-proptypes-tokenlist [chore] fix spelling and typos (#7974) 2 years ago
a11y-aria-proptypes-tristate [feat]: Add A11y aria-proptypes check (#6978) 2 years ago
a11y-aria-role rename .html files to .svelte 6 years ago
a11y-aria-unsupported-element rename .html files to .svelte 6 years ago
a11y-click-events-have-key-events feat(a11y): add click-events-have-key-events rule (#5073) 2 years ago
a11y-contenteditable-element-without-child skip a11y-missing-content check with contenteditable bindings (#5023) 4 years ago
a11y-figcaption-in-non-element-block a11y: implement img-redundant-alt (#4750) 5 years ago
a11y-figcaption-right-place a11y: implement img-redundant-alt (#4750) 5 years ago
a11y-figcaption-wrong-place a11y: implement img-redundant-alt (#4750) 5 years ago
a11y-heading-has-content rename .html files to .svelte 6 years ago
a11y-html-has-lang update validate tests 6 years ago
a11y-iframe-has-title update validate tests 6 years ago
a11y-img-redundant-alt fix exception with empty alt attribute (#4778) 5 years ago
a11y-in-foreign-namespace add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 4 years ago
a11y-label-has-associated-control Recursively check label children for input control (#5323) 2 years ago
a11y-label-has-associated-control-2 Recursively check label children for input control (#5323) 2 years ago
a11y-media-has-caption Remove caption warning on <audio> (#6054) 3 years ago
a11y-mouse-events-have-key-events a11y: check if mouse events are accompanied by key events (#5938) 3 years ago
a11y-no-abstract-roles [feat] add a11y check on abstract roles (#6241) 2 years ago
a11y-no-access-key rename .html files to .svelte 6 years ago
a11y-no-autofocus rename .html files to .svelte 6 years ago
a11y-no-distracting-elements rename .html files to .svelte 6 years ago
a11y-no-interactive-element-to-noninteractive-role [feat] check noninteractive roles on interactive elements (#5955) 2 years ago
a11y-no-nointeractive-tabindex [fix] "not interactive" -> "noninteractive" (#7930) 2 years ago
a11y-no-redundant-roles [fix] omit a11y warning for native checkbox/radio inputs (#7838) 2 years ago
a11y-not-on-components update tests 6 years ago
a11y-role-has-required-aria-props [fix] omit a11y warning for native checkbox/radio inputs (#7838) 2 years ago
a11y-scope rename .html files to .svelte 6 years ago
a11y-tabindex-no-positive [feat] Add a11y rule to check no tabindex in nointeractive element (#6693) 2 years ago
action-invalid augment warnings to help people figure out they need to add a <script> 6 years ago
action-object fix missing-declaration warning for use:obj.method (#5454) 4 years ago
action-on-component update tests 6 years ago
animation-comment-siblings each animate allow having comment siblings (#7435) 3 years ago
animation-duplicate rename .html files to .svelte 6 years ago
animation-each-with-const Handle whitespace inside #each with animation (#5477) 3 years ago
animation-each-with-whitespace Handle whitespace inside #each with animation (#5477) 3 years ago
animation-missing update validate tests 6 years ago
animation-not-in-each fixed typo in each loop animation error (#5648) 4 years ago
animation-not-in-keyed-each [feat] improve error message for animate used in a non-keyed each block (#6838) 3 years ago
animation-siblings fixed typo in each loop animation error (#5648) 4 years ago
assignment-to-const warn on assignment to const (#4960) 2 years ago
assignment-to-const-2 warn on assignment to const (#4960) 2 years ago
assignment-to-const-3 warn on assignment to const (#4960) 2 years ago
assignment-to-const-4 warn on assignment to const (#4960) 2 years ago
attribute-expected-equals Add error for missing equals after attribute name 6 years ago
attribute-invalid-name prevent illegal attribute names at compile time (#4650) 5 years ago
attribute-invalid-name-2 prevent illegal attribute names at compile time (#4650) 5 years ago
attribute-invalid-name-3 prevent illegal attribute names at compile time (#4650) 5 years ago
attribute-invalid-name-4 prevent illegal attribute names at compile time (#4650) 5 years ago
attribute-invalid-name-5 prevent illegal attribute names at compile time (#4650) 5 years ago
await-component-is-used rename .html files to .svelte 6 years ago
await-no-catch Don't show 'Empty block' warnings for non-existent await branches 6 years ago
await-shorthand-no-catch Don't show 'Empty block' warnings for non-existent await branches 6 years ago
await-shorthand-no-then add await catch shorthand (#4490) 5 years ago
binding-await-catch disallow binding variables declared in await and catch 5 years ago
binding-await-then disallow binding variables declared in await and catch 5 years ago
binding-await-then-2 disallow binding variables declared in await and catch 5 years ago
binding-const throw compiler error when binding directly to const variables (#4506) 5 years ago
binding-const-field throw compiler error when binding directly to const variables (#4506) 5 years ago
binding-dimensions-svg update validate tests 6 years ago
binding-dimensions-svg-child update validate tests 6 years ago
binding-dimensions-void update validate tests 6 years ago
binding-input-checked update validate tests 6 years ago
binding-input-type-boolean update validate tests 6 years ago
binding-input-type-dynamic update validate tests 6 years ago
binding-invalid update validate tests 6 years ago
binding-invalid-foreign-namespace add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 4 years ago
binding-invalid-on-element update validate tests 6 years ago
binding-invalid-value rename .html files to .svelte 6 years ago
binding-invalid-value-global disallow bindings to global variables (#2295) 6 years ago
binding-let better error for bindings to let: values - fixes #2301 6 years ago
binding-select-multiple-dynamic update validate tests 6 years ago
catch-declares-error-variable add Error to known globals, declare catch block parameter. fixes #3064 5 years ago
component-dynamic warn if component is expected to be reactive (#4409) 5 years ago
component-event-modifiers-invalid support once modifier on component events, fail on others (#2987) 6 years ago
component-invalid-style-directive [feat] Better error message for inline component style directive (#7187) 3 years ago
component-name-lowercase [fix] Only show lowercase component warning for non-html/svg elements (#7826) 2 years ago
component-namespaced failing missing-declaration test 6 years ago
component-slot-default-duplicate.skip rename .html files to .svelte 6 years ago
component-slot-default-reserved rename .html files to .svelte 6 years ago
component-slot-dynamic rename .html files to .svelte 6 years ago
component-slot-dynamic-attribute update tests 6 years ago
component-slot-named-duplicate.skip rename .html files to .svelte 6 years ago
component-slotted-custom-element complain if named slots other than direct descendant of component (#4509) 5 years ago
component-slotted-custom-element-2 complain if named slots other than direct descendant of component (#4509) 5 years ago
component-slotted-each-block complain if named slots other than direct descendant of component (#4509) 5 years ago
component-slotted-if-block complain if named slots other than direct descendant of component (#4509) 5 years ago
const-tag-conflict-1 [feat] implement constants in markup (#6413) 3 years ago
const-tag-conflict-2 [feat] implement constants in markup (#6413) 3 years ago
const-tag-cyclical [feat] implement constants in markup (#6413) 3 years ago
const-tag-out-of-scope [feat] implement constants in markup (#6413) 3 years ago
const-tag-placement-1 [feat] support const tag for if block (#7451) 3 years ago
const-tag-placement-2 [feat] support const tag for if block (#7451) 3 years ago
const-tag-readonly-1 [feat] implement constants in markup (#6413) 3 years ago
const-tag-readonly-2 [feat] implement constants in markup (#6413) 3 years ago
contenteditable-dynamic add some docs, rename to textContent and innerHTML 5 years ago
contenteditable-missing oops 5 years ago
css-invalid-combinator-selector-1 [fix] error when using combinator incorrectly (#7650) 2 years ago
css-invalid-combinator-selector-2 [fix] error when using combinator incorrectly (#7650) 2 years ago
css-invalid-combinator-selector-3 [fix] error when using combinator incorrectly (#7650) 2 years ago
css-invalid-combinator-selector-4 [fix] error when using combinator incorrectly (#7650) 2 years ago
css-invalid-global-placement rename .html files to .svelte 6 years ago
css-invalid-global-placement-2 fix: :global(...):some-pseudoclass should be considered global (#6317) 3 years ago
css-invalid-global-placement-3 :global() with pseudo element should be considered as global (#6470) 3 years ago
css-invalid-global-selector standalone :global() with multiple selectors shouldn't be treated as error (#6508) 3 years ago
css-invalid-global-selector-2 only check selector that are direct children of `:global` (#6435) 3 years ago
css-invalid-global-selector-3 only check selector that are direct children of `:global` (#6435) 3 years ago
css-invalid-global-selector-4 only check selector that are direct children of `:global` (#6435) 3 years ago
css-invalid-global-selector-5 standalone :global() with multiple selectors shouldn't be treated as error (#6508) 3 years ago
css-invalid-global-selector-6 standalone :global() with multiple selectors shouldn't be treated as error (#6508) 3 years ago
debug-invalid-args rename .html files to .svelte 6 years ago
default-export rename .html files to .svelte 6 years ago
default-export-anonymous-class update periscopic (#6471) 3 years ago
default-export-anonymous-function update periscopic (#6471) 3 years ago
directive-non-expression rename .html files to .svelte 6 years ago
dollar-dollar-global-in-markup disallow global references to $$-prefixed vars 5 years ago
dollar-dollar-global-in-script disallow global references to $$-prefixed vars 5 years ago
dollar-global-in-markup disallow global references to $$-prefixed vars 5 years ago
dollar-global-in-script disallow global references to $$-prefixed vars 5 years ago
dynamic-element-invalid-tag [feature] Dynamic elements implementation <svelte:element> (#6898) 3 years ago
dynamic-element-missing-tag [feature] Dynamic elements implementation <svelte:element> (#6898) 3 years ago
dynamic-element-this [feature] Dynamic elements implementation <svelte:element> (#6898) 3 years ago
each-block-destructured-object-rest-comma-after dry {#each}/{#await} destructuring (#4596) 5 years ago
each-block-invalid-context rename .html files to .svelte 6 years ago
each-block-invalid-context-destructured dry {#each}/{#await} destructuring (#4596) 5 years ago
each-block-invalid-context-destructured-object dry {#each}/{#await} destructuring (#4596) 5 years ago
each-block-multiple-children Updated to ESLint config 5.4.0 (#5541) 4 years ago
empty-block update validate tests 6 years ago
error-mode-warn [feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) (#6194) 3 years ago
event-modifiers-invalid Add trusted modifier (#6149) 3 years ago
event-modifiers-invalid-nonpassive add nonpassive event modifier (#5442) 4 years ago
event-modifiers-invalid-passive rename .html files to .svelte 6 years ago
event-modifiers-legacy Updated to ESLint config 5.4.0 (#5541) 4 years ago
event-modifiers-redundant rename .html files to .svelte 6 years ago
html-block-in-attribute [feat] better error message for invalid logic block placement (#7862) 2 years ago
html-block-in-textarea [feat] better error message for invalid logic block placement (#7862) 2 years ago
ignore-warning disable validation with magic comments 5 years ago
ignore-warnings disable validation with magic comments 5 years ago
ignore-warnings-cumulative disable validation with magic comments 5 years ago
ignore-warnings-newline disable validation with magic comments 5 years ago
ignore-warnings-stacked disable validation with magic comments 5 years ago
illegal-variable-declaration [fix] raise compile error if variable name is same as imported variable name (#7145) 3 years ago
import-meta update acorn and parse expression as module script (#5423) 4 years ago
invalid-empty-css-declaration error on empty css declarations - fixes #3801 5 years ago
logic-block-in-attribute [feat] better error message for invalid logic block placement (#7862) 2 years ago
logic-block-in-textarea [feat] better error message for invalid logic block placement (#7862) 2 years ago
missing-component augment warnings to help people figure out they need to add a <script> 6 years ago
missing-component-global Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071) 5 years ago
missing-custom-element-compile-options tweak text of warning 5 years ago
module-script-reactive-declaration Warn on improper use of reactive declarations 6 years ago
multiple-script-default-context rename .html files to .svelte 6 years ago
multiple-script-module-context rename .html files to .svelte 6 years ago
namespace-invalid rename .html files to .svelte 6 years ago
namespace-invalid-unguessable rename .html files to .svelte 6 years ago
namespace-non-literal rename .html files to .svelte 6 years ago
non-empty-block-dev Updated to ESLint config 5.4.0 (#5541) 4 years ago
reactive-declaration-cyclical fix reactive declaration cycle detection + clearer error on cycle 5 years ago
reactive-declaration-non-top-level Warn on improper use of reactive declarations 6 years ago
reactive-module-const-variable [fix] warning on reactive use of module const (#6606) (#6607) 3 years ago
reactive-module-variable [fix] do not warn if module variables are not the only dependencies in reactive statements (#6510) 3 years ago
reactive-module-variable-2 [fix] do not warn if module variables are not the only dependencies in reactive statements (#6510) 3 years ago
ref-not-supported rename .html files to .svelte 6 years ago
ref-not-supported-in-css rename .html files to .svelte 6 years ago
rest-eachblock-binding [chore] fix spelling and typos (#7974) 2 years ago
rest-eachblock-binding-2 [chore] fix spelling and typos (#7974) 2 years ago
rest-eachblock-binding-3 [chore] fix spelling and typos (#7974) 2 years ago
script-invalid-context rename .html files to .svelte 6 years ago
security-anchor-rel-noreferrer [fix] only read static value for rel attribute validation (#8003) 2 years ago
select-multiple update validate tests 6 years ago
silence-warnings [fix] be able to silence more warnings (#6504) 3 years ago
silence-warnings-2 [fix] be able to silence more warnings (#6504) 3 years ago
slot-attribute-invalid complain if named slots other than direct descendant of component (#4509) 5 years ago
style-directive-modifiers-invalid [feat] `|important` modifier for style directive (#7489) 2 years ago
svelte-fragment-placement rename test files from svelte-slot -> svelte-fragment (#7679) 2 years ago
svelte-fragment-placement-2 rename test files from svelte-slot -> svelte-fragment (#7679) 2 years ago
svg-child-component-declared-namespace update validate tests 6 years ago
tag-custom-element-options-missing tests: validator: add support for customElement compile option + test cases (#4133) 5 years ago
tag-custom-element-options-true tests: validator: add support for customElement compile option + test cases (#4133) 5 years ago
tag-invalid rename .html files to .svelte 6 years ago
tag-non-string rename .html files to .svelte 6 years ago
textarea-value-children rename .html files to .svelte 6 years ago
title-no-attributes rename .html files to .svelte 6 years ago
title-no-children rename .html files to .svelte 6 years ago
transition-duplicate-in rename .html files to .svelte 6 years ago
transition-duplicate-in-transition rename .html files to .svelte 6 years ago
transition-duplicate-out rename .html files to .svelte 6 years ago
transition-duplicate-out-transition rename .html files to .svelte 6 years ago
transition-duplicate-transition rename .html files to .svelte 6 years ago
transition-duplicate-transition-in rename .html files to .svelte 6 years ago
transition-duplicate-transition-out rename .html files to .svelte 6 years ago
transition-missing augment warnings to help people figure out they need to add a <script> 6 years ago
transition-on-component update tests 6 years ago
undefined-value don't warn when using each index in key (#3274) 5 years ago
undefined-value-global warn on template references to global variables (#2295) 6 years ago
unreferenced-variables fix: do not generate unused-export-let inside <script context="module"> (#7232) 3 years ago
unreferenced-variables-each [feat] add reference for default values in destructuring context (#7007) 3 years ago
use-the-platform warn if React attributes are used (#5836) 4 years ago
window-binding-invalid rename .html files to .svelte 6 years ago
window-binding-invalid-innerwidth rename .html files to .svelte 6 years ago
window-binding-invalid-value rename .html files to .svelte 6 years ago
window-binding-invalid-width rename .html files to .svelte 6 years ago
window-binding-online update validate tests 6 years ago