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

Add support for optional 'error' severity level in configurations #1691

Merged
merged 2 commits into from
Jul 18, 2017

Conversation

marcelofabri
Copy link
Collaborator

Continued from #1664

Fixes #1647

@JamieEdge, I've added some tests and changed the behavior a little so we only set the error level to nil when it's explicitly set in the configuration.

@SwiftLintBot
Copy link

SwiftLintBot commented Jul 18, 2017

1 Warning
⚠️ Make sure that the docs are updated by running the Generate docs scheme.
12 Messages
📖 Linting Aerial with this PR took 0.35s vs 0.33s on master (6% slower)
📖 Linting Alamofire with this PR took 2.25s vs 2.25s on master (0% slower)
📖 Linting Firefox with this PR took 9.84s vs 9.91s on master (0% faster)
📖 Linting Kickstarter with this PR took 14.0s vs 14.15s on master (1% faster)
📖 Linting Moya with this PR took 0.64s vs 0.69s on master (7% faster)
📖 Linting Nimble with this PR took 1.3s vs 1.35s on master (3% faster)
📖 Linting Quick with this PR took 0.41s vs 0.43s on master (4% faster)
📖 Linting Realm with this PR took 1.95s vs 2.04s on master (4% faster)
📖 Linting SourceKitten with this PR took 0.84s vs 0.86s on master (2% faster)
📖 Linting Sourcery with this PR took 2.66s vs 2.77s on master (3% faster)
📖 Linting Swift with this PR took 9.54s vs 9.96s on master (4% faster)
📖 Linting WordPress with this PR took 9.16s vs 9.59s on master (4% faster)

Generated by 🚫 Danger

@marcelofabri
Copy link
Collaborator Author

Actually, that behavior was not the right one 😅

@marcelofabri marcelofabri force-pushed the mf-optional-severity-configuration branch from 799a438 to a4aeaed Compare July 18, 2017 15:58
@codecov-io
Copy link

Codecov Report

Merging #1691 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1691      +/-   ##
==========================================
+ Coverage   87.36%   87.37%   +0.01%     
==========================================
  Files         204      204              
  Lines       10047    10055       +8     
==========================================
+ Hits         8778     8786       +8     
  Misses       1269     1269
Impacted Files Coverage Δ
...leConfigurations/SeverityLevelsConfiguration.swift 100% <100%> (ø) ⬆️
...iftLintFrameworkTests/RuleConfigurationTests.swift 92.09% <100%> (+0.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9bb64e5...a4aeaed. Read the comment docs.

@marcelofabri marcelofabri merged commit 5702e47 into master Jul 18, 2017
@marcelofabri marcelofabri deleted the mf-optional-severity-configuration branch July 18, 2017 21:19
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.

4 participants