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 experimental, test, and custom to the list of ignored rule set ids #1568

Conversation

0x6675636b796f75676974687562
Copy link
Member

What's done:

Additional rule set ids (available since KtLint 0.47) are now ignored, both via the --disabled_rules command-line argument, and via class path exclusions (Gradle plug-in).

This change fixes behaviour described in #1559 with KtLint 0.47+.

…set ids

### What's done:

Additional rule set ids (available since KtLint 0.47) are now ignored, both via
the `--disabled_rules` command-line argument, and via class path exclusions
(Gradle plug-in).

This change fixes behaviour described in #1559 with KtLint 0.47+.
@0x6675636b796f75676974687562 0x6675636b796f75676974687562 added this to the ktlint-wrapper milestone Nov 15, 2022
@0x6675636b796f75676974687562 0x6675636b796f75676974687562 added the plugins Plugins for build systems to allow them to run diktat label Nov 15, 2022
@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Merging #1568 (44570bb) into feature/ktlint-wrapper (341ef78) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@                     Coverage Diff                      @@
##             feature/ktlint-wrapper    #1568      +/-   ##
============================================================
+ Coverage                     82.15%   82.18%   +0.03%     
- Complexity                     2314     2315       +1     
============================================================
  Files                           112      112              
  Lines                          7849     7863      +14     
  Branches                       2033     2033              
============================================================
+ Hits                           6448     6462      +14     
  Misses                          481      481              
  Partials                        920      920              
Flag Coverage Δ
unittests 82.18% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rg/cqfn/diktat/plugin/gradle/DiktatGradlePlugin.kt 100.00% <100.00%> (ø)
...qfn/diktat/plugin/gradle/DiktatJavaExecTaskBase.kt 78.78% <100.00%> (+1.36%) ⬆️
...cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt 97.54% <100.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 15, 2022

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

1 997 tests   1 982 ✔️  3m 23s ⏱️
   162 suites       15 💤
   162 files           0

Results for commit 44570bb.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 15, 2022

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

1 978 tests   1 963 ✔️  1m 28s ⏱️
   161 suites       15 💤
   161 files           0

Results for commit 44570bb.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugins Plugins for build systems to allow them to run diktat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants