warnings.json — svelte Source File
Architecture documentation for warnings.json, a json file in the svelte codebase.
Entity Profile
Source Code
[
{
"code": "legacy_code",
"message": "`a11y-missing-attribute` is no longer valid — please use `a11y_missing_attribute` instead",
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 41
}
},
{
"code": "a11y_missing_attribute",
"message": "`<img>` element should have an alt attribute",
"start": {
"line": 5,
"column": 1
},
"end": {
"line": 5,
"column": 29
}
},
{
"code": "unknown_code",
"message": "`ally_missing_attribute` is not a recognised code (did you mean `a11y_missing_attribute`?)",
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 41
}
},
{
"code": "a11y_missing_attribute",
"message": "`<img>` element should have an alt attribute",
"start": {
"line": 10,
"column": 1
},
"end": {
"line": 10,
"column": 29
}
},
{
"code": "legacy_code",
"message": "`a11y-misplaced-scope` is no longer valid — please use `a11y_misplaced_scope` instead",
"start": {
"line": 13,
"column": 19
},
"end": {
"line": 13,
"column": 39
}
},
{
"code": "a11y_misplaced_scope",
"message": "The scope attribute should only be used with `<th>` elements",
"start": {
"line": 14,
"column": 5
},
"end": {
"line": 14,
"column": 10
}
}
]
Source
Frequently Asked Questions
What does warnings.json do?
warnings.json is a source file in the svelte codebase, written in json.
Where is warnings.json in the architecture?
warnings.json is located at packages/svelte/tests/validator/samples/unknown-code/warnings.json (directory: packages/svelte/tests/validator/samples/unknown-code).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free