Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 26 additions & 24 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.18.0",
"@ui5/linter": "^1.19.0",
"@ui5/linter": "^1.20.0",
"@ui5/logger": "^4.0.2",
"@ui5/project": "^4.0.6",
"async-mutex": "^0.5.0",
Expand Down
29 changes: 29 additions & 0 deletions test/lib/tools/run_ui5_linter/snapshots/run_ui5_linter.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ Generated by [AVA](https://avajs.dev).
title: '<title for 28fcd55b04654977b63dacbee0552712>',
uri: '<uri>',
},
{
text: '<text>',
title: '<title for be0cf40f61184b358b5faedaec98b2da>',
uri: '<uri>',
},
{
text: '<text>',
title: '<title for a87ca843bcee469f82a9072927a7dcdb>',
Expand Down Expand Up @@ -463,6 +468,14 @@ Generated by [AVA](https://avajs.dev).
description: 'Global variables must not be used for accessing UI5 framework APIs and should be avoided in application code. The respective modules should be imported explicitly.',
ruleId: 'no-globals',
},
{
description: 'The `manifest.json` or `Component.js` file must declare the latest supported manifest version',
ruleId: 'no-outdated-manifest-version',
},
{
description: 'The `manifest.json` file must not declare a UI5 version that is older than 1.136.0',
ruleId: 'no-legacy-ui5-version-in-manifest',
},
],
},
frameworkVersion: '1.134.0',
Expand Down Expand Up @@ -573,6 +586,22 @@ Generated by [AVA](https://avajs.dev).
{
filePath: 'webapp/manifest.json',
messages: [
{
column: 5,
line: 2,
message: 'manifest.json must be migrated to Version 2',
messageDetails: 'Set _version to 2.0.0 or higher and follow the migration guide Manifest Version 2 (https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da#loiobe0cf40f61184b358b5faedaec98b2da/section_manifest2)',
ruleId: 'no-outdated-manifest-version',
severity: 2,
},
{
column: 13,
line: 9,
message: 'Use UI5 version 1.136.0 or higher in manifest.json',
messageDetails: 'Set minUI5Version to 1.136.0 or higher and follow the migration guide Manifest Version 2 (https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da#loiobe0cf40f61184b358b5faedaec98b2da/section_manifest2)',
ruleId: 'no-legacy-ui5-version-in-manifest',
severity: 2,
},
{
column: 17,
line: 14,
Expand Down
Binary file modified test/lib/tools/run_ui5_linter/snapshots/run_ui5_linter.ts.snap
Binary file not shown.