Skip to content

Commit

Permalink
Fix linting errors and update super_linter command
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Jan 4, 2024
1 parent 93f1dbc commit 7dcc50c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 44 deletions.
52 changes: 11 additions & 41 deletions .config/Code/User/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"cmake.configureOnOpen": false,
"editor.detectIndentation": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.guides.bracketPairs": true,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"editor.rulers": [
Expand All @@ -12,6 +18,8 @@
200,
250
],
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"files.associations": {
Expand Down Expand Up @@ -58,53 +66,15 @@
"workbench.colorCustomizations": {
"editorRuler.foreground": "#cfbcc391"
},
"workbench.enableExperiments": false, // Fetches experiments to run from a Microsoft online service.
"workbench.settings.enableNaturalLanguageSearch": false, // natural language search provided by a Microsoft online service.
"workbench.enableExperiments": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.startupEditor": "newUntitledFile",
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"[java]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.tabSize": 2
},
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2
},
"[jsonc]": {
"editor.detectIndentation": false,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2
},
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[scss]": {
"editor.detectIndentation": false,
"editor.suggest.insertMode": "replace",
"editor.tabSize": 2
},
"[shellscript]": {
"editor.detectIndentation": false,
"editor.tabSize": 2
},
"[yaml]": {
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
"source.organizeImports": "explicit"
}
},
"window.zoomLevel": 1
Expand Down
4 changes: 1 addition & 3 deletions .shells/.all/dockerfunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,12 @@ super_linter() {
--env DEFAULT_WORKSPACE=/tmp/lint \
--env DISABLE_ERRORS=false \
--env ERROR_ON_MISSING_EXEC_BIT=true \
--env IGNORE_GITIGNORED_FILES="true" \
--env IGNORE_GITIGNORED_FILES=true \
--env KUBERNETES_KUBEVAL_OPTIONS="--strict --ignore-missing-schemas --schema-location https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/" \
--env LINTER_RULES_PATH="${LINTER_RULES_PATH:-"."}" \
--env MULTI_STATUS=false \
--env RUN_LOCAL=true \
--env TEST_CASE_RUN="${TEST_CASE_RUN:-"false"}" \
--env VALIDATE_ALL_CODEBASE=true \
--env VALIDATE_JSCPD_ALL_CODEBASE="${VALIDATE_JSCPD_ALL_CODEBASE:-"true"}" \
--name "${_CONTAINER_NAME}" \
--rm \
--volume "$(pwd)":/tmp/lint \
Expand Down

0 comments on commit 7dcc50c

Please # to comment.