Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
14 commits
Select commit Hold shift + click to select a range
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
4 changes: 3 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@vscode-logging/wrapper"
],
["guided-development", "guided-development-frontend"],
["vscode-cf-tools", "cloud-foundry-tools-frontend"],
[
"@sap-devx/inquirer-gui",
"@sap-devx/inquirer-gui-auto-complete-plugin",
Expand Down Expand Up @@ -59,7 +60,8 @@
"sample-navigator",
"@sap-devx/inquirer-gui-date-plugin",
"sample-inquirer-gui-vscode-extension",
"websocketserver"
"websocketserver",
"vscode-wing-cf-tools"
],
"privatePackages": {
"version": true,
Expand Down
40 changes: 40 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ module.exports = {
ignorePatterns: [
"projects/task-explorer/**/dist/",
"projects/task-explorer/**/coverage/",
"projects/cloud-foundry-tools/**/dist/",
"projects/cloud-foundry-tools/**/coverage/",
"projects/cloud-foundry-tools/**/out/",
// Vendored compiled outputs of the RPC library bundled into rpc-example-ws for demo purposes.
"projects/vscode-webview-rpc-lib/examples/rpc-example-ws/src/static/rpc/",
],
Expand Down Expand Up @@ -351,6 +354,43 @@ module.exports = {
"@typescript-eslint/only-throw-error": "off",
},
},
{
// cloud-foundry-tools was integrated with these rules relaxed for the migrated code.
// TODO: clean up violations and tighten incrementally.
files: ["projects/cloud-foundry-tools/**"],
rules: {
"eslint-comments/require-description": "off",
"no-unused-vars": "off",
"prefer-spread": "off",
"prefer-rest-params": "off",
},
},
{
// Additional TypeScript rules for cloud-foundry-tools packages.
// Legacy code migrated as-is; relaxed to match the historical behaviour.
// TODO: clean up violations and tighten incrementally.
files: ["projects/cloud-foundry-tools/**/*.ts"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-duplicate-type-constituents": "off",
},
},
{
// vscode-webview-rpc-lib was integrated with these rules relaxed for the migrated code.
// TODO: clean up violations and tighten incrementally.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
projects/task-explorer/packages/tasks_panel/*.vsix
projects/task-explorer/examples/npm_task_contrib/*.vsix
projects/task-explorer/examples/vscode_task_contrib/*.vsix
projects/cloud-foundry-tools/packages/backend/*.vsix
projects/cloud-foundry-tools/packages/wrapper/*.vsix
# default is 90 days; however, we want to avoid excessive storage usage...
retention-days: ${{ env.artifact-retention-days }}

Expand Down
Loading
Loading