Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Danger Xcode-Summary issue #11

Closed
wants to merge 3 commits into from
Closed

Conversation

el-hoshino
Copy link
Owner

danger-xcode_summary plugin's inline mode is not... quite inline. It can give us the info at which line in which file the warning/error comes from, but it can't leave a comment right on that line, which danger-swiftlint plugin is able to do in its inline mode.

@el-hoshino el-hoshino self-assigned this Jan 19, 2020
@@ -13,8 +13,12 @@ final public class QRPictureGenerator {

let context = CIContext()

private let dummy :Int = 123
Copy link
Owner Author

@el-hoshino el-hoshino Jan 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Colons should be next to the identifier when specifying a type and next to the key in dictionary literals.
colon QRPictureGenerator.swift:16

@el-hoshino
Copy link
Owner Author

el-hoshino commented Jan 19, 2020

3 Warnings
⚠️ This PR doesn’t contain any modification to CHANGELOG.md file, which is recommanded.
⚠️ QRPictureGenerator.swift#L20 - QuickshaRe/Domain/QRPictureGenerator.swift#L20: initialization of immutable value ‘dummy’ was never used; consider replacing with assignment to ‘_’ or removing it
let dummy = 123
⚠️ QRPictureGenerator.swift#L21 - QuickshaRe/Domain/QRPictureGenerator.swift#L21: initialization of immutable value ‘anotherDummy’ was never used; consider replacing with assignment to ‘_’ or removing it
let anotherDummy = 456
2 Messages
📖 Executed 1 test, with 0 failures (0 unexpected) in 0.300 (0.302) seconds
📖 Executed 1 test, with 0 failures (0 unexpected) in 10.019 (10.025) seconds

Code coverage

Total coverage: 64.77%

File Coverage
QuickshaRe/Domain/QRPictureGenerator.swift 100.00%

Powered by Slather

Develop PR Check

Checklist Result
Check PR From branch
Check PR To branch
CHANGELOG.md Modification Check
Merge Commit Check
Volume of Modification Check

Generated by 🚫 Danger

@@ -13,8 +13,12 @@ final public class QRPictureGenerator {

let context = CIContext()

private let dummy :Int = 123
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colons should be next to the identifier when specifying a type and next to the key in dictionary literals.

@@ -13,8 +13,12 @@ final public class QRPictureGenerator {

let context = CIContext()

private let dummy :Int = 123
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colon at column 23 should have exactly one space after it

@@ -13,8 +13,12 @@ final public class QRPictureGenerator {

let context = CIContext()

private let dummy :Int = 123
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colon at column 23 should have no spaces before it

@codeclimate
Copy link

codeclimate bot commented Jul 8, 2020

Code Climate has analyzed commit e69b766 and detected 0 issues on this pull request.

View more on Code Climate.

@el-hoshino el-hoshino closed this Jan 13, 2023
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.

None yet

1 participant