diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..becd3d49 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,45 @@ +# Basic dependabot.yml file with +# minimum configuration for two package managers + +version: 2 +updates: + # Enable version updates for npm + - package-ecosystem: "npm" + # Look for `package.json` and `lock` files in the `root` directory + directory: "electron-react " + # Check the npm registry for updates every day (weekdays) + schedule: + interval: "weekly" + day: "tuesday" + target-branch: "dev" + pull-request-branch-name: + # Separate sections of the branch name with a hyphen + # for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1` + separator: "-" + + # Enable version updates for Python + - package-ecosystem: "pip" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" + day: "tuesday" + target-branch: "dev" + pull-request-branch-name: + # Separate sections of the branch name with a hyphen + # for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1` + separator: "-" + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" + day: "tuesday" + target-branch: "dev" + pull-request-branch-name: + # Separate sections of the branch name with a hyphen + # for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1` + separator: "-" diff --git a/.github/linters/.eslintrc.yml b/.github/linters/.eslintrc.yml deleted file mode 100644 index d8d60ec1..00000000 --- a/.github/linters/.eslintrc.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- - -############################# -############################# -## JavaScript Linter rules ## -############################# -############################# - -############ -# Env Vars # -############ -env: - browser: true - es6: true - jest: true - -############### -# Global Vars # -############### -globals: - Atomics: readonly - SharedArrayBuffer: readonly - -############### -# Parser vars # -############### -parser: '@typescript-eslint/parser' -parserOptions: - ecmaVersion: 2018 - sourceType: module - -########### -# Plugins # -########### -plugins: - - '@typescript-eslint' - -######### -# Rules # -######### -rules: {} diff --git a/.github/linters/.powershell-psscriptanalyzer.psd1 b/.github/linters/.powershell-psscriptanalyzer.psd1 deleted file mode 100644 index ee73b5e3..00000000 --- a/.github/linters/.powershell-psscriptanalyzer.psd1 +++ /dev/null @@ -1,18 +0,0 @@ -#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/markdown/Invoke-ScriptAnalyzer.md#-settings -@{ - #CustomRulePath='path\to\CustomRuleModule.psm1' - #RecurseCustomRulePath='path\of\customrules' - #Severity = @( - # 'Error' - # 'Warning' - #) - #IncludeDefaultRules=$true - #ExcludeRules = @( - # 'PSAvoidUsingWriteHost', - # 'MyCustomRuleName' - #) - #IncludeRules = @( - # 'PSAvoidUsingWriteHost', - # 'MyCustomRuleName' - #) -} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e4abd6b3..cbe723a2 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -44,7 +44,7 @@ jobs: # Run Linter against code base # ################################ - name: Lint Code Base - uses: docker://github/super-linter:v3.1.1 + uses: github/super-linter@master env: VALIDATE_ALL_CODEBASE: true DEFAULT_BRANCH: master @@ -59,7 +59,7 @@ jobs: VALIDATE_TYPESCRIPT_ES: true VALIDATE_DOCKER: true VALIDATE_GO: true - VALIDATE_POWERSHELL: false + VALIDATE_POWERSHELL: true VALIDATE_CSS: false VALIDATE_ENV: true DISABLE_ERRORS: false