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
20 changes: 13 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,19 @@
},
"overrides": [
{
"files": ["*.test.ts"],
"rules": {
"no-unused-expressions": "off",
"@typescript-eslint/unbound-method" : "off",
"max-nested-callbacks" : "off",
"@typescript-eslint/no-unsafe-assignment": 1
}
"files": ["*.test.ts"],
"rules": {
"no-unused-expressions": "off",
"@typescript-eslint/unbound-method" : "off",
"max-nested-callbacks" : "off",
"@typescript-eslint/no-unsafe-assignment": 1
}
},
{
"files": ["./src/@types/**.d.ts"],
"rules": {
"header/header": "off"
}
}
]
}
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@
"-o",
"${workspaceFolder}/test/ui/settings.json",
"-m",
"--mocha_config",
"${workspaceFolder}/test/ui/.mocharc.js",
"-c",
"max",
"-e",
"./test-resources/extensions",
"-i"
Expand Down
14 changes: 14 additions & 0 deletions .vscode/project.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"copyright": {
"prefix": "copyright",
"scope": "typescript",
"body": [
"/*-----------------------------------------------------------------------------------------------",
" * Copyright (c) Red Hat, Inc. All rights reserved.",
" * Licensed under the MIT License. See LICENSE file in the project root for license information.",
" *-----------------------------------------------------------------------------------------------*/",
""
],
"description": "Copyright header"
}
}
2 changes: 1 addition & 1 deletion build/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const webviews = [
'serverless-function',
'serverless-manage-repository',
'add-service-binding',
'openshift-terminal',
];

function kebabToCamel(text) {
Expand All @@ -40,7 +41,6 @@ await Promise.all([
sourcemap: true,
loader: {
'.png': 'file',
'.svg': 'file',
},
plugins: [
sassPlugin(),
Expand Down
3 changes: 1 addition & 2 deletions images/helm/helm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/welcome/microsoft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading