omise / omise-swift

15 stars 10 forks source link

Add linting #107

Closed tobias90 closed 3 years ago

tobias90 commented 3 years ago

1. Objective

We want to have a consistent codebase across all developers working on this repository. SwiftLint will help us to enforce general coding style and conventions on newly added code.

2. Description of change

3. Quality assurance

Runningswiftlint should not produce any warnings or errors.

GitHub should run the linting workflow on each PR into master. If rules are violated, the job should fail and related annotations should be added to indicate the issue:

Screen Shot 2021-03-05 at 16 00 16

Link to Example

4. Operations impact

N/A

5. Business impact

N/A

6. The priority of change

Normal