Skip to content

Commit

Permalink
Oztechan/Global#4 Global config update synced file(s) with Oztechan/C…
Browse files Browse the repository at this point in the history
…onfig (#36)

* Oztechan/Global#4 Global config update synced local 'docs/CONTRIBUTING.md' with remote 'docs/CONTRIBUTING.md'

* Oztechan/Global#4 Global config update synced local 'docs/PULL_REQUEST_TEMPLATE.md' with remote 'docs/PULL_REQUEST_TEMPLATE.md'

* Oztechan/Global#4 Global config update created local 'codecov.yml' from remote 'codecov.yml'

* Oztechan/Global#4 Global config update created local 'detekt.yml' from remote 'detekt.yml'
  • Loading branch information
mustafaozhan authored Nov 7, 2023
1 parent b8564bf commit c35ba19
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 10 deletions.
14 changes: 14 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
coverage:
precision: 2
round: nearest
range: "0..100"
status:
project:
default:
target: auto
threshold: 0.5%
patch:
default:
informational: true
comment: # this is a top-level key
layout: "diff, reach, files"
22 changes: 22 additions & 0 deletions detekt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
# This file is used to override default detekt rules
# the rules are not listed here will be used from default detekt config listed in the link above

config:
validation: true
warningsAsErrors: true
checkExhaustiveness: false

style:
WildcardImport:
active: true
excludeImports: [ ] # default config excludes java.util.*

complexity:
NamedArguments:
active: true

naming:
FunctionNaming:
active: true
ignoreAnnotated: [ 'Composable' ]
12 changes: 6 additions & 6 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Example:

## Commit Message

Every commit message should match the following format `[Oztechan/TraceFit#ISSUE_ID] Commit message`
Every commit message should match the following format `[Oztechan/REPO_NAME#ISSUE_ID] Commit message`

Example:

```
[Oztechan/TraceFit#123] My cool feature
[Oztechan/Config#123] My cool feature
```

## Pull Request
Expand All @@ -27,23 +27,23 @@ Example:
Pull Request title should follow below format:

```
[Oztechan/TraceFit#ISSUE_ID] ISSUE_TITLE
[Oztechan/REPO_NAME#ISSUE_ID] ISSUE_TITLE
```

Example:

```
[Oztechan/TraceFit#ISSUE_ID] Whatever the name of ticket is
[Oztechan/Config#123] Whatever the name of ticket is
```

### Description

Description has to have `Resloves Oztechan/TraceFit#ISSUE_ID` with relevant issue. It will help automatically close relevant issue once the PR is merged.
Description has to have `Resloves Oztechan/REPO_NAME#ISSUE_ID` with relevant issue. It will help automatically close relevant issue once the PR is merged.

Example:

```
Resolves Oztechan/TraceFit#123
Resolves Oztechan/Config#123
Some description.
```
9 changes: 5 additions & 4 deletions docs/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Description

Resolves Oztechan/TraceFit*
Resolves Oztechan/REPO_NAME#ISSUE_ID
<!--
Pull Request Checklist
1. I have read the https://github.com/Oztechan/TraceFit/blob/develop/docs/CONTRIBUTING.md
2. PR title in the format of `[Oztechan/TraceFit#ISSUE_ID] ISSUE_TITLE`
1. I have read the https://github.com/Oztechan/Config/blob/develop/docs/CONTRIBUTING.md
2. PR title in the format of `[Oztechan/REPO_NAME#ISSUE_ID] ISSUE_TITLE`
3. I have added a valid description and
4. I replaced `*` with the link of the issue. Ie `#123` into description (it will automatically close issue once PR is merged)
4. I replaced `REPO_NAME` with the name of repository.
5. I replaced `ISSUE_ID` with the ID(number in the link) of issue.
4. I have tested the app before creating this PR
-->

0 comments on commit c35ba19

Please sign in to comment.