Skip to content

Commit 2f37d80

Browse files
committed
feat(ui5-linter): Enable Manifest 2 checks
1 parent d0bf5a3 commit 2f37d80

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/tools/run_ui5_linter/resultContext.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,16 @@ or \`odata\` globals are used implicitly in bindings (missing an explicit import
252252
},
253253
"ui5-class-declaration": `UI5 classes are not declared correctly. This rule only applies to TypeScript code where built-in ECMAScript classes are used instead of an \`.extend()\` call`,
254254
"unsupported-api-usage": `UI5 API is not used correctly. For example, a formatter declared in a binding declaration in JavaScript is not of type \`function\``,
255+
"no-outdated-manifest-version": {
256+
text: `The \`manifest.json\` or \`Component.js\` file must declare the latest supported manifest version`,
257+
topics: ["be0cf40f61184b358b5faedaec98b2da"],
258+
},
259+
"no-legacy-ui5-version-in-manifest": {
260+
text: `The \`manifest.json\` file must not declare a UI5 version that is older than 1.136.0`,
261+
topics: ["be0cf40f61184b358b5faedaec98b2da"],
262+
},
263+
"no-removed-manifest-property": {
264+
text: `The \`manifest.json\` file must not contain properties that have been removed from the manifest specification`,
265+
topics: ["be0cf40f61184b358b5faedaec98b2da"],
266+
},
255267
};

0 commit comments

Comments
 (0)