diff --git a/.gitignore b/.gitignore index b2207612..a8463802 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,12 @@ -/dist -/docs/cmd -/coverage.output -/pkg/dib/dist -/pkg/dib/tests -/pkg/trivy/reports -/site -/venv .idea -target/reports +!.idea/runConfigurations +.vscode +!.vscode/settings.json +!.vscode/extensions.json + +dist +docs/cmd +pkg/dib/tests +pkg/trivy/reports +venv +coverage.output diff --git a/.idea/runConfigurations/dib_build.xml b/.idea/runConfigurations/dib_build.xml new file mode 100644 index 00000000..411da3eb --- /dev/null +++ b/.idea/runConfigurations/dib_build.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/dib_list.xml b/.idea/runConfigurations/dib_list.xml new file mode 100644 index 00000000..8b8182e9 --- /dev/null +++ b/.idea/runConfigurations/dib_list.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/dib_list__console_.xml b/.idea/runConfigurations/dib_list__console_.xml new file mode 100644 index 00000000..9760ec37 --- /dev/null +++ b/.idea/runConfigurations/dib_list__console_.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/dib_version.xml b/.idea/runConfigurations/dib_version.xml new file mode 100644 index 00000000..4bad9b5a --- /dev/null +++ b/.idea/runConfigurations/dib_version.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/go test dib.run.xml b/.idea/runConfigurations/go test dib.run.xml new file mode 100644 index 00000000..16b274a6 --- /dev/null +++ b/.idea/runConfigurations/go test dib.run.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..e8e9c51c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,18 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "aaron-bond.better-comments", + "naumovs.color-highlight", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "orta.vscode-jest", + "pivaszbs.svelte-autoimport", + "svelte.svelte-vscode", + "vscode-icons-team.vscode-icons" + ], + // List of extensions recommended by VS Code that should not be recommended for users of this workspace. + "unwantedRecommendations": [] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6cd35845 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "workbench.editor.labelFormat": "short", + "editor.tabSize": 2, + "editor.insertSpaces": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.renderWhitespace": "all", + "files.insertFinalNewline": true, + "files.trimTrailingWhitespace": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "eslint.validate": ["javascript", "svelte"], + "[svelte]": { + "editor.defaultFormatter": "svelte.svelte-vscode" + }, + "[xml]": { + "editor.defaultFormatter": "redhat.vscode-xml" + } +}