Skip to content

Conversation

@Vkt0r
Copy link
Member

@Vkt0r Vkt0r commented Apr 20, 2019

This PR should enable Swiftlint in the project and add Danger for code reviews. Can be resumed in the following:

  • Include the Run Script Phase to use Swiftlint in the project with the .swiftlint.yml
  • Fix all the errors and warnings regarding Swiftlint violations
  • Integrate Swiftlint and Danger in CircleCI
  • Add jobs to run Swiftlint and Danger as part of the CI
  • Add the Dangerfile with some basics rules for the project
  • Move the Source dir into the Xcode folder project to be more easy to lint directly Swiftlint
  • Set the correct path in the XCTManifest for Sources

@Vkt0r Vkt0r force-pushed the danger branch 2 times, most recently from 70581d1 to 2094527 Compare April 20, 2019 03:44
@swifter-bot
Copy link

swifter-bot commented Apr 20, 2019

3 Warnings
⚠️ Big PR
⚠️ It seems like you’ve added new tests to the library. If that’s the case, please update the XCTestManifests.swift file running in your terminal the command swift test --generate-linuxmain.
⚠️ If you ran the command swift test --generate-linuxmain in your terminal, please remove the line testCase(IOSafetyTests.__allTests__IOSafetyTests), from public func __allTests() -> [XCTestCaseEntry] in the bottom of the file. For more reference see #366.
1 Message
📖 Hey, @Vkt0r 👋.

Generated by 🚫 Danger

@Vkt0r Vkt0r force-pushed the danger branch 24 times, most recently from 34d1fe7 to 695c4d7 Compare April 21, 2019 21:18
@Vkt0r Vkt0r changed the title [WIP] Integrate Danger and Swiftlint to the project Integrate Danger and Swiftlint to the project Apr 21, 2019
@Vkt0r
Copy link
Member Author

Vkt0r commented Apr 21, 2019

This is ready to go!

Vkt0r added 3 commits April 21, 2019 17:25
* Include the Run Script Phase to use Swiftlint in the project with the `.swiftlint.yml`
* Fix all the errors and warnings regarding Swiftlint violations
* Add jobs to run Danger as part of the CI
* Add the `Dangerfile` with some basics rules for the project
* Add the `Gemfile` to manage the Ruby dependencies
* Move the Source dir into the Xcode folder project to be more easy to lint directly Swiftlint
* Set the correct path in the XCTManifest
@adamkaplan adamkaplan merged commit 70ec292 into httpswift:stable Apr 22, 2019
@adamkaplan
Copy link
Collaborator

Fantastic

@Vkt0r Vkt0r deleted the danger branch April 22, 2019 17:42
tomieq pushed a commit to tomieq/swifterfork that referenced this pull request Apr 1, 2021
Integrate Danger and Swiftlint to the project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants