diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 0e98ab3960a9cc2b6b03d147dd914a50fb58d366..0000000000000000000000000000000000000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,12 +0,0 @@ -# This configuration file was added to enable ESLint 8 as GitLab Code Quality -# does not support ESLint 8 as of GitLab 15.0. Once Code Quality officially -# supports ESLint 8, remove this file for the simplicity. -# See https://gitlab.com/gitlab-org/ci-cd/codequality/-/issues/52 -version: "2" -plugins: - eslint: - enabled: true - channel: "eslint-8" -exclude_patterns: - - "tests/" - - "**/*.spec.js" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff07281d51798f4b5d4bdc65944f34a97f5016ab..a610b614532264c062931d8a867b8aa5b1294b32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,6 @@ variables: GITLAB_ADVANCED_SAST_ENABLED: 'true' include: - - template: Jobs/Code-Quality.gitlab-ci.yml - template: Jobs/Dependency-Scanning.latest.gitlab-ci.yml - template: Jobs/SAST.latest.gitlab-ci.yml - template: Jobs/Secret-Detection.latest.gitlab-ci.yml @@ -35,16 +34,6 @@ include: .is-gitlab-ui-mr: &is-gitlab-ui-mr if: '$CI_MERGE_REQUEST_IID && $CI_PROJECT_PATH == "gitlab-org/gitlab-ui"' - -code_quality: - needs: [] - # Code quality scanning doesn't work otherwise on MR pipelines - rules: - - when: always - # It's running docker-in-docker, so we want to set the correct tag - tags: - - gitlab-org-docker - # Execute the security scanners immediately gemnasium-dependency_scanning: needs: [] @@ -215,8 +204,10 @@ lint: extends: [.node, .yarn_install] needs: [] stage: test + variables: + ESLINT_CODE_QUALITY_REPORT: "gl-code-quality-report-eslint.json" script: - - yarn eslint + - yarn eslint --format gitlab - yarn prettier - yarn stylelint - yarn markdownlint @@ -225,6 +216,9 @@ lint: && echo "Vue components should not contain