From f5935412eac6d0ecff962ae8298c75eda4813b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Jacobo=20Vi=C3=B1a=20Rebolledo?= Date: Mon, 2 Oct 2023 00:47:35 +0200 Subject: [PATCH 1/4] feat(chore): add sonar report --- sonar-project.properties | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index 3ace7e0..3a10d5a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,18 +1,13 @@ sonar.projectKey=vinjatovix_ts-api sonar.organization=vinjatovix -sonar.sources=src -sonar.exclusions=node_modules/**,coverage/**,dist/**,build/** -sonar.tests=tests -sonar.test.inclusions=**/*.test.ts -sonar.javascript.lcov.reportPaths=coverage/lcov-merged.info - # This is the name and version displayed in the SonarCloud UI. #sonar.projectName=ts-api #sonar.projectVersion=1.0 - +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +#sonar.sources=. # Encoding of the source code. Default is default system encoding #sonar.sourceEncoding=UTF-8 From 63ddc2878cdbcc7413241d03d9c51da1b6ee6d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Jacobo=20Vi=C3=B1a=20Rebolledo?= Date: Mon, 2 Oct 2023 00:58:36 +0200 Subject: [PATCH 2/4] wtf --- .github/workflows/codeql.yml | 82 --------------------------------- .github/workflows/nodejs.yml | 6 --- .github/workflows/sonarpush.yml | 30 ------------ 3 files changed, 118 deletions(-) delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/sonarpush.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index b83ccb6..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,82 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "develop" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "develop" ] - schedule: - - cron: '33 18 * * 5' - -jobs: - analyze: - name: Analyze - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners - # Consider using larger runners for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: ["javascript"] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ] - # Use only 'java' to analyze code written in Java, Kotlin or both - # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a3ce086..fa05ff5 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -30,9 +30,3 @@ jobs: - name: Run tests and generate coverage run: | npm run test - - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/sonarpush.yml b/.github/workflows/sonarpush.yml deleted file mode 100644 index f47830a..0000000 --- a/.github/workflows/sonarpush.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Sonar push -on: - push: - branches: - - develop - pull_request: - types: [opened, synchronize, reopened] -jobs: - sonarcloud: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: actions/setup-node@v1 - with: - node-version: "18.12.1" - - name: Install dependencies - run: npm install - - name: Install Jest globally - run: sudo npm install -g jest - - name: Run Tests - env: - SECRET: mockSecret - run: npm run test - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From b8be8e3543d4ffcb8f92d4012bb1d7a963f2bea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Jacobo=20Vi=C3=B1a=20Rebolledo?= Date: Mon, 2 Oct 2023 01:05:14 +0200 Subject: [PATCH 3/4] fix(smells) --- src/apps/apiApp/backend/ApiApp.ts | 2 +- src/apps/apiApp/backend/dependency-injection/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/apiApp/backend/ApiApp.ts b/src/apps/apiApp/backend/ApiApp.ts index f0a2ec6..af90271 100644 --- a/src/apps/apiApp/backend/ApiApp.ts +++ b/src/apps/apiApp/backend/ApiApp.ts @@ -4,7 +4,7 @@ export class ApiApp { server?: Server; async start() { - const port: string = process.env.PORT || '3000'; + const port: string = process.env.PORT ?? '3000'; this.server = new Server(port); return this.server.listen(); diff --git a/src/apps/apiApp/backend/dependency-injection/index.ts b/src/apps/apiApp/backend/dependency-injection/index.ts index e1dcaa5..ab88262 100644 --- a/src/apps/apiApp/backend/dependency-injection/index.ts +++ b/src/apps/apiApp/backend/dependency-injection/index.ts @@ -2,7 +2,7 @@ import { ContainerBuilder, YamlFileLoader } from 'node-dependency-injection'; const container = new ContainerBuilder(); const loader = new YamlFileLoader(container); -const env = process.env.NODE_ENV || 'dev'; +const env = process.env.NODE_ENV ?? 'dev'; loader.load(`${__dirname}/application_${env}.yml`); From f17d90c675e47b1b151377073ec48c05f951c9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Jacobo=20Vi=C3=B1a=20Rebolledo?= Date: Mon, 2 Oct 2023 01:16:02 +0200 Subject: [PATCH 4/4] wtffff --- .github/workflows/build.yml | 6 ++ jest.config.js | 16 +-- package-lock.json | 207 ------------------------------------ package.json | 1 - sonar-project.properties | 2 + 5 files changed, 16 insertions(+), 216 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea16a55..02e2161 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Install dependencies + run: npm install # Adjust for your specific setup + + - name: Run tests + run: npm run test # Adjust for your specific test command + - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: diff --git a/jest.config.js b/jest.config.js index afe2c66..8600083 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,13 +1,13 @@ module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', - cacheDirectory: '.tmp/jestCache', + preset: 'ts-jest', + testEnvironment: 'node', + cacheDirectory: '.tmp/jestCache', collectCoverage: true, coverageDirectory: '/coverage', collectCoverageFrom: ['/src/**/*.ts'], - watchPathIgnorePatterns: ["/test-report.json"], - reporters: ["default"], - testResultsProcessor: "jest-sonar-reporter", - coverageReporters: ["text", "html", "lcov", "clover"], - coveragePathIgnorePatterns: ["/node_modules/", "/test/"] + watchPathIgnorePatterns: ['/test-report.json'], + reporters: ['default'], + testResultsProcessor: 'jest-sonar-reporter', + coverageReporters: ['text', 'html', 'lcov', 'clover'], + coveragePathIgnorePatterns: ['/node_modules/', '/test/'] }; diff --git a/package-lock.json b/package-lock.json index 1707455..ee8dfe9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "husky": "^8.0.3", "jest": "^29.7.0", "jest-sonar-reporter": "^2.0.0", - "lcov-result-merger": "^4.1.0", "lint-staged": "10.5.4", "madge": "^6.1.0", "prettier": "^2.8.8", @@ -5279,12 +5278,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -6149,61 +6142,6 @@ "seed-random": "~2.2.0" } }, - "node_modules/lcov-result-merger": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/lcov-result-merger/-/lcov-result-merger-4.1.0.tgz", - "integrity": "sha512-31FISg2iX5I8oRY9MpIRoBvH+VYZ4D1799yFBlrupduhYoPuQEWOf6FeSvaNwIbNB/lJo5MpDPysOKvUOcgbwA==", - "dev": true, - "dependencies": { - "fast-glob": "^3.2.11", - "through2": "^2.0.3", - "yargs": "^16.2.0" - }, - "bin": { - "lcov-result-merger": "bin/lcov-result-merger.js" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/lcov-result-merger/node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/lcov-result-merger/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/lcov-result-merger/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -7618,12 +7556,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -8630,46 +8562,6 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/through2/node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/through2/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/through2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, "node_modules/tiny-case": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", @@ -13343,12 +13235,6 @@ "integrity": "sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==", "dev": true }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -14013,51 +13899,6 @@ "seed-random": "~2.2.0" } }, - "lcov-result-merger": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/lcov-result-merger/-/lcov-result-merger-4.1.0.tgz", - "integrity": "sha512-31FISg2iX5I8oRY9MpIRoBvH+VYZ4D1799yFBlrupduhYoPuQEWOf6FeSvaNwIbNB/lJo5MpDPysOKvUOcgbwA==", - "dev": true, - "requires": { - "fast-glob": "^3.2.11", - "through2": "^2.0.3", - "yargs": "^16.2.0" - }, - "dependencies": { - "cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "requires": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - } - }, - "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true - } - } - }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -15068,12 +14909,6 @@ "parse-ms": "^2.1.0" } }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -15824,48 +15659,6 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, "tiny-case": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", diff --git a/package.json b/package.json index 53aecbc..7eb51aa 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "lint:fix": "eslint . --ext .ts --fix", "pre-commit": "lint-staged", "test": "npm run test:unit && npm run test:features", - "test:ci": "jest --ci --forceExit --reporters='default' --reporters='./github-actions-reporter'", "test:features": "cross-env NODE_ENV=test cucumber-js -p apiApp_backend", "test:unit": "cross-env NODE_ENV=test jest --detectOpenHandles --forceExit --coverage" }, diff --git a/sonar-project.properties b/sonar-project.properties index 3a10d5a..10271a6 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,7 @@ sonar.projectKey=vinjatovix_ts-api sonar.organization=vinjatovix +sonar.javascript.lcov.reportPaths=coverage/lcov.info + # This is the name and version displayed in the SonarCloud UI. #sonar.projectName=ts-api