Skip to content

Commit

Permalink
Merge 406890c into 08468c4
Browse files Browse the repository at this point in the history
  • Loading branch information
ebmm01 committed Sep 16, 2021
2 parents 08468c4 + 406890c commit c6c1de1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'unused-imports/no-unused-imports': 'error'
'@typescript-eslint/no-unused-vars': 'error'
},
};
6 changes: 6 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

deploy-hom:
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sonar.projectKey=fga-eps-mds_2021.1-Cartografia-social-api-comunidades
sonar.organization=fga-eps-mds-1

sonar.sources=src
sonar.sourceEncoding=UTF-8

sonar.tests=test
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.coverage.exclusions=dist/,test/,.*.module.ts, .eslintrc.js,src/main.ts, /src/config/configuration.ts

0 comments on commit c6c1de1

Please sign in to comment.