-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,502 additions
and
214 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
is_global = true | ||
|
||
########################################## | ||
# StyleCopAnalyzers Settings | ||
########################################## | ||
|
||
# All constant fields must be PascalCase | ||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1303.md | ||
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private | ||
dotnet_naming_symbols.stylecop_constant_fields_group.required_modifiers = const | ||
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_kinds = field | ||
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.symbols = stylecop_constant_fields_group | ||
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.style = pascal_case_style | ||
|
||
# All static readonly fields must be PascalCase | ||
# Ajusted to ignore private fields. | ||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1311.md | ||
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected | ||
dotnet_naming_symbols.stylecop_static_readonly_fields_group.required_modifiers = static, readonly | ||
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_kinds = field | ||
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.symbols = stylecop_static_readonly_fields_group | ||
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style | ||
|
||
# No non-private instance fields are allowed | ||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1401.md | ||
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected | ||
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_kinds = field | ||
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.symbols = stylecop_fields_must_be_private_group | ||
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.style = disallowed_style | ||
|
||
# Local variables must be camelCase | ||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1312.md | ||
dotnet_naming_symbols.stylecop_local_fields_group.applicable_accessibilities = local | ||
dotnet_naming_symbols.stylecop_local_fields_group.applicable_kinds = local | ||
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.symbols = stylecop_local_fields_group | ||
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.style = camel_case_style | ||
|
||
########################################## | ||
# StyleCopAnalyzers rule severity | ||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers | ||
########################################## | ||
|
||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.DocumentationRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.ReadabilityRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.NamingRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.SpacingRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.OrderingRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.MaintainabilityRules.severity = suggestion | ||
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.LayoutRules.severity = suggestion | ||
|
||
dotnet_diagnostic.SA1636.severity = none # SA1636: File header copyright text should match | ||
dotnet_diagnostic.SA1101.severity = none # PrefixLocalCallsWithThis - stylecop appears to be ignoring dotnet_style_qualification_for_* | ||
dotnet_diagnostic.SA1309.severity = none # FieldNamesMustNotBeginWithUnderscore | ||
|
||
dotnet_diagnostic.SA1503.severity = warning # BracesMustNotBeOmitted | ||
dotnet_diagnostic.SA1117.severity = warning # ParametersMustBeOnSameLineOrSeparateLines | ||
dotnet_diagnostic.SA1116.severity = warning # SplitParametersMustStartOnLineAfterDeclaration | ||
dotnet_diagnostic.SA1122.severity = warning # UseStringEmptyForEmptyStrings | ||
dotnet_diagnostic.SA1028.severity = warning # CodeMustNotContainTrailingWhitespace | ||
dotnet_diagnostic.SA1500.severity = warning # BracesForMultiLineStatementsMustNotShareLine | ||
dotnet_diagnostic.SA1401.severity = warning # FieldsMustBePrivate | ||
dotnet_diagnostic.SA1519.severity = warning # BracesMustNotBeOmittedFromMultiLineChildStatement | ||
dotnet_diagnostic.SA1111.severity = warning # ClosingParenthesisMustBeOnLineOfLastParameter | ||
dotnet_diagnostic.SA1520.severity = warning # UseBracesConsistently | ||
dotnet_diagnostic.SA1407.severity = warning # ArithmeticExpressionsMustDeclarePrecedence | ||
dotnet_diagnostic.SA1400.severity = warning # AccessModifierMustBeDeclared | ||
dotnet_diagnostic.SA1119.severity = warning # StatementMustNotUseUnnecessaryParenthesis | ||
dotnet_diagnostic.SA1649.severity = warning # FileNameMustMatchTypeName | ||
dotnet_diagnostic.SA1121.severity = warning # UseBuiltInTypeAlias | ||
dotnet_diagnostic.SA1132.severity = warning # DoNotCombineFields | ||
dotnet_diagnostic.SA1134.severity = warning # AttributesMustNotShareLine | ||
dotnet_diagnostic.SA1106.severity = warning # CodeMustNotContainEmptyStatements | ||
dotnet_diagnostic.SA1312.severity = warning # VariableNamesMustBeginWithLowerCaseLetter | ||
dotnet_diagnostic.SA1310.severity = warning # FieldNamesMustNotContainUnderscore | ||
dotnet_diagnostic.SA1303.severity = warning # ConstFieldNamesMustBeginWithUpperCaseLetter | ||
dotnet_diagnostic.SA1130.severity = warning # UseLambdaSyntax | ||
dotnet_diagnostic.SA1405.severity = warning # DebugAssertMustProvideMessageText | ||
dotnet_diagnostic.SA1205.severity = warning # PartialElementsMustDeclareAccess | ||
dotnet_diagnostic.SA1306.severity = warning # FieldNamesMustBeginWithLowerCaseLetter | ||
dotnet_diagnostic.SA1209.severity = warning # UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives | ||
dotnet_diagnostic.SA1216.severity = warning # UsingStaticDirectivesMustBePlacedAtTheCorrectLocation | ||
dotnet_diagnostic.SA1133.severity = warning # DoNotCombineAttributes | ||
dotnet_diagnostic.SA1135.severity = warning # UsingDirectivesMustBeQualified |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Company>Umbraco HQ</Company> | ||
<Authors>Umbraco</Authors> | ||
<Copyright>Copyright © Umbraco $([System.DateTime]::Today.ToString('yyyy'))</Copyright> | ||
<Product>Umbraco Storage Providers</Product> | ||
<PackageProjectUrl>https://github.com/umbraco/Umbraco.StorageProviders</PackageProjectUrl> | ||
<PackageIconUrl>https://umbraco.com/dist/nuget/logo-small.png</PackageIconUrl> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<PackageTags>umbraco storage</PackageTags> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<WarningsAsErrors>Nullable</WarningsAsErrors> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AnalysisMode>All</AnalysisMode> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.113" PrivateAssets="all" IsImplicitlyDefined="true" /> | ||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" IsImplicitlyDefined="true" /> | ||
<PackageReference Include="Umbraco.Code" Version="2.0.0" PrivateAssets="all" IsImplicitlyDefined="true" /> | ||
<PackageReference Include="Umbraco.GitVersioning.Extensions" Version="0.1.1" PrivateAssets="all" IsImplicitlyDefined="true" /> | ||
</ItemGroup> | ||
|
||
<!-- NuGet packages lock --> | ||
<PropertyGroup> | ||
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> | ||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> | ||
<DefaultItemExcludes>$(DefaultItemExcludes);packages.lock.json</DefaultItemExcludes> | ||
</PropertyGroup> | ||
|
||
<!-- SourceLink --> | ||
<PropertyGroup> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" Visible="false" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.100", | ||
"rollForward": "latestFeature" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
27 changes: 12 additions & 15 deletions
27
src/Umbraco.StorageProviders.AzureBlob/Umbraco.StorageProviders.AzureBlob.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<AnalysisMode>All</AnalysisMode> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<Description>Azure Blob Storage provider for Umbraco CMS</Description> | ||
<PackageTags>umbraco storage azure blob</PackageTags> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Umbraco.Cms.Web.Common" Version="[10.0.0, 11.0.0)" /> | ||
<PackageReference Include="SixLabors.ImageSharp.Web.Providers.Azure" Version="2.0.1" /> | ||
<PackageReference Include="Azure.Storage.Blobs" Version="12.12.0" /> | ||
<ProjectReference Include="..\Umbraco.StorageProviders\Umbraco.StorageProviders.csproj" /> | ||
</ItemGroup> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Title>Umbraco Storage Providers - Azure Blob Storage</Title> | ||
<Description>Azure Blob Storage provider for Umbraco CMS.</Description> | ||
<PackageTags>umbraco storage azure blob</PackageTags> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Umbraco.Cms.Web.Common" Version="[10.0.0, 11.0.0)" /> | ||
<PackageReference Include="SixLabors.ImageSharp.Web.Providers.Azure" Version="2.0.1" /> | ||
<PackageReference Include="Azure.Storage.Blobs" Version="12.12.0" /> | ||
<ProjectReference Include="..\Umbraco.StorageProviders\Umbraco.StorageProviders.csproj" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.