Skip to content

Commit 47948e9

Browse files
committedJan 30, 2023
feat: initial commit
1 parent 66f4a5c commit 47948e9

File tree

189 files changed

+8215
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+8215
-2
lines changed
 

‎.editorconfig

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
[*]
3+
charset = utf-8-bom
4+
end_of_line = lf
5+
trim_trailing_whitespace = false
6+
insert_final_newline = false
7+
indent_style = space
8+
indent_size = 4
9+
10+
# Microsoft .NET properties
11+
csharp_preferred_modifier_order = public, private, protected, internal, abstract, virtual, sealed, override, static, new, readonly, extern, unsafe, volatile, async:suggestion
12+
csharp_style_var_elsewhere = true:suggestion
13+
csharp_style_var_for_built_in_types = true:suggestion
14+
csharp_style_var_when_type_is_apparent = true:suggestion
15+
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
16+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
17+
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
18+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
19+
dotnet_style_predefined_type_for_member_access = true:suggestion
20+
dotnet_style_qualification_for_event = false:suggestion
21+
dotnet_style_qualification_for_field = false:suggestion
22+
dotnet_style_qualification_for_method = false:suggestion
23+
dotnet_style_qualification_for_property = false:suggestion
24+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
25+
26+
# ReSharper properties
27+
resharper_autodetect_indent_settings = true
28+
resharper_braces_for_for = required
29+
resharper_braces_for_foreach = required
30+
resharper_braces_for_ifelse = required
31+
resharper_braces_for_while = required
32+
resharper_csharp_keep_blank_lines_in_code = 1
33+
resharper_csharp_keep_blank_lines_in_declarations = 1
34+
resharper_csharp_wrap_after_declaration_lpar = true
35+
resharper_csharp_wrap_after_invocation_lpar = true
36+
resharper_csharp_wrap_arguments_style = chop_if_long
37+
resharper_csharp_wrap_before_binary_opsign = true
38+
resharper_csharp_wrap_before_first_type_parameter_constraint = true
39+
resharper_csharp_wrap_parameters_style = chop_if_long
40+
resharper_keep_existing_attribute_arrangement = true
41+
resharper_keep_existing_declaration_parens_arrangement = false
42+
resharper_keep_existing_embedded_arrangement = false
43+
resharper_keep_existing_expr_member_arrangement = false
44+
resharper_keep_existing_initializer_arrangement = false
45+
resharper_keep_existing_invocation_parens_arrangement = false
46+
resharper_keep_existing_switch_expression_arrangement = false
47+
resharper_max_initializer_elements_on_line = 2
48+
resharper_modifiers_order = public private protected internal abstract virtual sealed override static new readonly extern unsafe volatile async
49+
resharper_place_accessorholder_attribute_on_same_line = false
50+
resharper_place_field_attribute_on_same_line = false
51+
resharper_place_linq_into_on_new_line = false
52+
resharper_place_simple_anonymousmethod_on_single_line = false
53+
resharper_place_simple_embedded_statement_on_same_line = false
54+
resharper_space_between_attribute_sections = false
55+
resharper_use_indent_from_vs = false
56+
resharper_wrap_before_arrow_with_expressions = true
57+
resharper_wrap_before_extends_colon = true
58+
resharper_wrap_before_linq_expression = true
59+
resharper_wrap_chained_binary_expressions = chop_if_long
60+
61+
# ReSharper inspection severities
62+
resharper_arrange_redundant_parentheses_highlighting = hint
63+
resharper_arrange_this_qualifier_highlighting = hint
64+
resharper_arrange_type_member_modifiers_highlighting = hint
65+
resharper_arrange_type_modifiers_highlighting = hint
66+
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
67+
resharper_built_in_type_reference_style_highlighting = hint
68+
resharper_mvc_view_component_view_not_resolved_highlighting = none
69+
resharper_redundant_base_qualifier_highlighting = warning
70+
resharper_suggest_var_or_type_built_in_types_highlighting = hint
71+
resharper_suggest_var_or_type_elsewhere_highlighting = hint
72+
resharper_suggest_var_or_type_simple_types_highlighting = hint
73+
resharper_web_config_module_not_resolved_highlighting = warning
74+
resharper_web_config_type_not_resolved_highlighting = warning
75+
resharper_web_config_wrong_module_highlighting = warning
76+
77+
[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cs,cshtml,cu,cuh,cxx,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,master,ml,mli,mpp,mq4,mq5,mqh,nuspec,paml,razor,resw,resx,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}]
78+
indent_style = space
79+
indent_size = 4
80+
tab_width = 4

‎.gitignore

+243
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
appsettings.Development.json
5+
6+
# User-specific files
7+
.DS_Store
8+
logs/
9+
.vscode/
10+
**/wwwroot/static/
11+
**/Views/Home/Index.cshtml
12+
**/wwwroot/index.html
13+
src/Cnblogs.Audit.Web/wwwroot/*
14+
15+
*.suo
16+
*.user
17+
*.userosscache
18+
*.sln.docstates
19+
20+
# User-specific files (MonoDevelop/Xamarin Studio)
21+
*.userprefs
22+
23+
# Build results
24+
[Dd]ebug/
25+
[Dd]ebugPublic/
26+
[Rr]elease/
27+
[Rr]eleases/
28+
x64/
29+
x86/
30+
bld/
31+
[Bb]in/
32+
[Oo]bj/
33+
34+
# Visual Studio 2015 cache/options directory
35+
.vs/
36+
# Uncomment if you have tasks that create the project's static files in wwwroot
37+
#wwwroot/
38+
39+
# MSTest test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
43+
# NUNIT
44+
*.VisualState.xml
45+
TestResult.xml
46+
47+
# Build Results of an ATL Project
48+
[Dd]ebugPS/
49+
[Rr]eleasePS/
50+
dlldata.c
51+
52+
# DNX
53+
project.lock.json
54+
artifacts/
55+
56+
*_i.c
57+
*_p.c
58+
*_i.h
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Chutzpah Test files
82+
_Chutzpah*
83+
84+
# Visual C++ cache files
85+
ipch/
86+
*.aps
87+
*.ncb
88+
*.opendb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
93+
# Visual Studio profiler
94+
*.psess
95+
*.vsp
96+
*.vspx
97+
*.sap
98+
99+
# TFS 2012 Local Workspace
100+
$tf/
101+
102+
# Guidance Automation Toolkit
103+
*.gpState
104+
105+
# ReSharper is a .NET coding add-in
106+
_ReSharper*/
107+
*.[Rr]e[Ss]harper
108+
*.DotSettings.user
109+
110+
# JustCode is a .NET coding add-in
111+
.JustCode
112+
113+
# TeamCity is a build add-in
114+
_TeamCity*
115+
116+
# DotCover is a Code Coverage Tool
117+
*.dotCover
118+
119+
# NCrunch
120+
_NCrunch_*
121+
.*crunch*.local.xml
122+
nCrunchTemp_*
123+
124+
# MightyMoose
125+
*.mm.*
126+
AutoTest.Net/
127+
128+
# Web workbench (sass)
129+
.sass-cache/
130+
131+
# Installshield output folder
132+
[Ee]xpress/
133+
134+
# DocProject is a documentation generator add-in
135+
DocProject/buildhelp/
136+
DocProject/Help/*.HxT
137+
DocProject/Help/*.HxC
138+
DocProject/Help/*.hhc
139+
DocProject/Help/*.hhk
140+
DocProject/Help/*.hhp
141+
DocProject/Help/Html2
142+
DocProject/Help/html
143+
144+
# Click-Once directory
145+
publish/
146+
147+
# Publish Web Output
148+
*.[Pp]ublish.xml
149+
*.azurePubxml
150+
# TODO: Comment the next line if you want to checkin your web deploy settings
151+
# but database connection strings (with potential passwords) will be unencrypted
152+
*.pubxml
153+
*.publishproj
154+
155+
# NuGet Packages
156+
*.nupkg
157+
# The packages folder can be ignored because of Package Restore
158+
#**/packages/*
159+
# except build/, which is used as an MSBuild target.
160+
!**/packages/build/
161+
# Uncomment if necessary however generally it will be regenerated when needed
162+
#!**/packages/repositories.config
163+
164+
# Windows Azure Build Output
165+
csx/
166+
*.build.csdef
167+
168+
# Windows Azure Emulator
169+
ecf/
170+
rcf/
171+
172+
# Windows Store app package directory
173+
AppPackages/
174+
BundleArtifacts/
175+
176+
# Visual Studio cache files
177+
# files ending in .cache can be ignored
178+
*.[Cc]ache
179+
# but keep track of directories ending in .cache
180+
!*.[Cc]ache/
181+
182+
# Others
183+
ClientBin/
184+
[Ss]tyle[Cc]op.*
185+
~$*
186+
*~
187+
*.dbmdl
188+
*.dbproj.schemaview
189+
*.pfx
190+
*.publishsettings
191+
node_modules/
192+
orleans.codegen.cs
193+
194+
# RIA/Silverlight projects
195+
Generated_Code/
196+
197+
# Backup & report files from converting an old project file
198+
# to a newer Visual Studio version. Backup files are not needed,
199+
# because we have git ;-)
200+
_UpgradeReport_Files/
201+
Backup*/
202+
UpgradeLog*.XML
203+
UpgradeLog*.htm
204+
205+
# SQL Server files
206+
*.mdf
207+
*.ldf
208+
209+
# Business Intelligence projects
210+
*.rdl.data
211+
*.bim.layout
212+
*.bim_*.settings
213+
214+
# Microsoft Fakes
215+
FakesAssemblies/
216+
217+
# GhostDoc plugin setting file
218+
*.GhostDoc.xml
219+
220+
# Node.js Tools for Visual Studio
221+
.ntvs_analysis.dat
222+
223+
# Visual Studio 6 build log
224+
*.plg
225+
226+
# Visual Studio 6 workspace options file
227+
*.opt
228+
229+
# Visual Studio LightSwitch build output
230+
**/*.HTMLClient/GeneratedArtifacts
231+
**/*.DesktopClient/GeneratedArtifacts
232+
**/*.DesktopClient/ModelManifest.xml
233+
**/*.Server/GeneratedArtifacts
234+
**/*.Server/ModelManifest.xml
235+
_Pvt_Extensions
236+
237+
# Paket dependency manager
238+
.paket/paket.exe
239+
240+
# FAKE - F# Make
241+
.fake/
242+
.idea
243+
.vscode

0 commit comments

Comments
 (0)
Please sign in to comment.