From e362f08e5ba1ac53a32e94ae8e5fa265f491aca3 Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Mon, 6 Feb 2023 11:21:26 +0100 Subject: super-linter ENV variables in shared location for local and automated use --- .github/super-linter.env | 9 +++++++++ .github/workflows/linter.yml | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 .github/super-linter.env diff --git a/.github/super-linter.env b/.github/super-linter.env new file mode 100644 index 00000000..2c0131b1 --- /dev/null +++ b/.github/super-linter.env @@ -0,0 +1,9 @@ +VALIDATE_ALL_CODEBASE=true +# The QT localization files are .ts +VALIDATE_TYPESCRIPT_ES=false +VALIDATE_TYPESCRIPT_STANDARD=false +# Copy/Paste Detector disabled for now, should re-enable after refactoring +VALIDATE_JSCPD=false +# cpplint is disabled for now since Google style is far off from ours +VALIDATE_CPP=false + diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 6a550674..2ad8ea5b 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -48,14 +48,6 @@ jobs: - name: Lint Code Base uses: github/super-linter@v4 env: - VALIDATE_ALL_CODEBASE: true # Change to 'master' if your main branch differs DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # The QT localization files are .ts - VALIDATE_TYPESCRIPT_ES: false - VALIDATE_TYPESCRIPT_STANDARD: false - # Copy/Paste Detector disabled for now, should re-enable after refactoring - VALIDATE_JSCPD: false - # cpplint is disabled for now since Google style is far off from ours - VALIDATE_CPP: false -- cgit v1.2.3