Write recipe to compare user and default config - #3065#3114
Write recipe to compare user and default config - #3065#3114arturbosch merged 1 commit intomasterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3114 +/- ##
=========================================
Coverage 79.44% 79.44%
Complexity 2596 2596
=========================================
Files 437 437
Lines 7818 7818
Branches 1484 1484
=========================================
Hits 6211 6211
Misses 819 819
Partials 788 788
Continue to review full report at Codecov.
|
schalkms
left a comment
There was a problem hiding this comment.
Thanks for writing ✍️ this article. It’s a very helpful reference for potential questions concerning this topic.
|
Actually what I do is not diff updated config with prod config but diff default config with previous default config. This give a precise and easy to follow list of added checks / changed default values that can be applied to prod after. Diffing default config with prod configuration that may have dozens of already known changes makes this task harder. |
12f29bd to
e915dab
Compare
My workflow is similar at yours. And I have an idea but I must say that I don't use it yet: Create a patch file between the default config and my actual config. This way, the next time that I update detekt I can take the new default and apply the patch to it. And then I can diff my old config with the merge between my customization and the new default. |
No description provided.