Skip to content

Commit eb425ff

Browse files
committed
axe is an html-only option
1 parent 607edcc commit eb425ff

File tree

5 files changed

+30
-13
lines changed

5 files changed

+30
-13
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24992,6 +24992,11 @@ var require_yaml_intelligence_resources = __commonJS({
2499224992
"schema/document-a11y.yml": [
2499324993
{
2499424994
name: "axe",
24995+
tags: {
24996+
formats: [
24997+
"$html-files"
24998+
]
24999+
},
2499525000
schema: {
2499625001
anyOf: [
2499725002
"boolean",
@@ -28068,7 +28073,7 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, te
2806828073
return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
2806928074
}
2807028075
function writeScalar(state, string, level, iskey, inblock) {
28071-
state.dump = function() {
28076+
state.dump = (function() {
2807228077
if (string.length === 0) {
2807328078
return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
2807428079
}
@@ -28106,7 +28111,7 @@ function writeScalar(state, string, level, iskey, inblock) {
2810628111
default:
2810728112
throw new exception("impossible error: invalid scalar style");
2810828113
}
28109-
}();
28114+
})();
2811028115
}
2811128116
function blockHeader(string, indentPerLevel) {
2811228117
var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
@@ -28120,12 +28125,12 @@ function dropEndingNewline(string) {
2812028125
}
2812128126
function foldString(string, width) {
2812228127
var lineRe = /(\n+)([^\n]*)/g;
28123-
var result = function() {
28128+
var result = (function() {
2812428129
var nextLF = string.indexOf("\n");
2812528130
nextLF = nextLF !== -1 ? nextLF : string.length;
2812628131
lineRe.lastIndex = nextLF;
2812728132
return foldLine(string.slice(0, nextLF), width);
28128-
}();
28133+
})();
2812928134
var prevMoreIndented = string[0] === "\n" || string[0] === " ";
2813028135
var moreIndented;
2813128136
var match;
@@ -32212,8 +32217,8 @@ function validateGeneric(value, s, context) {
3221232217
"boolean": (schema2) => validateBoolean(value, schema2, context),
3221332218
"number": (schema2) => validateNumber(value, schema2, context),
3221432219
"string": (schema2) => validateString(value, schema2, context),
32215-
"null": (schema2) => validateNull(value, schema2, context),
32216-
"enum": (schema2) => validateEnum(value, schema2, context),
32220+
"null": ((schema2) => validateNull(value, schema2, context)),
32221+
"enum": ((schema2) => validateEnum(value, schema2, context)),
3221732222
"anyOf": (schema2) => validateAnyOf(value, schema2, context),
3221832223
"allOf": (schema2) => validateAllOf(value, schema2, context),
3221932224
"array": (schema2) => validateArray(value, schema2, context),

src/resources/editor/tools/yaml/all-schema-definitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17964,6 +17964,11 @@
1796417964
"schema/document-a11y.yml": [
1796517965
{
1796617966
"name": "axe",
17967+
"tags": {
17968+
"formats": [
17969+
"$html-files"
17970+
]
17971+
},
1796717972
"schema": {
1796817973
"anyOf": [
1796917974
"boolean",

src/resources/schema/document-a11y.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
- name: axe
2+
tags:
3+
formats: [$html-files]
24
schema:
35
anyOf:
46
- boolean

0 commit comments

Comments
 (0)