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

Update stylecop.json schema to have correct default for headerDecoration. #3842

Merged
merged 2 commits into from
May 22, 2024
Merged

Conversation

alexrp
Copy link
Contributor

@alexrp alexrp commented May 17, 2024

The default is documented to be the empty string, and since it's typed as string, null is not actually a valid value and will fail to validate.

…ration`.

The default is documented to be the empty string, and since it's typed as `string`, `null` is not actually a valid value and will fail to validate.
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.45%. Comparing base (17b613d) to head (9827fb3).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3842      +/-   ##
==========================================
+ Coverage   94.38%   97.45%   +3.07%     
==========================================
  Files         925      925              
  Lines      110065   110092      +27     
  Branches     3307     3308       +1     
==========================================
+ Hits       103881   107288    +3407     
+ Misses       5174     1840    -3334     
+ Partials     1010      964      -46     

@sharwell
Copy link
Member

The default values need to also be updated in these two locations:

@sharwell sharwell merged commit 5bdaf0a into DotNetAnalyzers:master May 22, 2024
19 checks passed
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.

2 participants