Skip to content

Commit c1f705d

Browse files
committed
add slopwatch
1 parent 920360c commit c1f705d

5 files changed

Lines changed: 82 additions & 56 deletions

File tree

.gitignore

Lines changed: 17 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
55

66
# User-specific files
7-
*.rsuser
87
*.suo
98
*.user
109
*.userosscache
@@ -13,25 +12,17 @@
1312
# User-specific files (MonoDevelop/Xamarin Studio)
1413
*.userprefs
1514

16-
# Mono auto generated files
17-
mono_crash.*
18-
1915
# Build results
2016
[Dd]ebug/
2117
[Dd]ebugPublic/
2218
[Rr]elease/
2319
[Rr]eleases/
2420
x64/
2521
x86/
26-
[Ww][Ii][Nn]32/
27-
[Aa][Rr][Mm]/
28-
[Aa][Rr][Mm]64/
2922
bld/
3023
[Bb]in/
3124
[Oo]bj/
32-
[Oo]ut/
3325
[Ll]og/
34-
[Ll]ogs/
3526

3627
# Visual Studio 2015/2017 cache/options directory
3728
.vs/
@@ -45,10 +36,9 @@ Generated\ Files/
4536
[Tt]est[Rr]esult*/
4637
[Bb]uild[Ll]og.*
4738

48-
# NUnit
39+
# NUNIT
4940
*.VisualState.xml
5041
TestResult.xml
51-
nunit-*.xml
5242

5343
# Build Results of an ATL Project
5444
[Dd]ebugPS/
@@ -60,20 +50,17 @@ BenchmarkDotNet.Artifacts/
6050

6151
# .NET Core
6252
project.lock.json
63-
packages.lock.json
6453
project.fragment.lock.json
6554
artifacts/
66-
67-
# ASP.NET Scaffolding
68-
ScaffoldingReadMe.txt
55+
**/Properties/launchSettings.json
6956

7057
# StyleCop
7158
StyleCopReport.xml
7259

7360
# Files built by Visual Studio
7461
*_i.c
7562
*_p.c
76-
*_h.h
63+
*_i.h
7764
*.ilk
7865
*.meta
7966
*.obj
@@ -90,7 +77,6 @@ StyleCopReport.xml
9077
*.tlh
9178
*.tmp
9279
*.tmp_proj
93-
*_wpftmp.csproj
9480
*.log
9581
*.vspscc
9682
*.vssscc
@@ -133,6 +119,9 @@ _ReSharper*/
133119
*.[Rr]e[Ss]harper
134120
*.DotSettings.user
135121

122+
# JustCode is a .NET coding add-in
123+
.JustCode
124+
136125
# TeamCity is a build add-in
137126
_TeamCity*
138127

@@ -143,11 +132,6 @@ _TeamCity*
143132
.axoCover/*
144133
!.axoCover/settings.json
145134

146-
# Coverlet is a free, cross platform Code Coverage Tool
147-
coverage*.json
148-
coverage*.xml
149-
coverage*.info
150-
151135
# Visual Studio code coverage results
152136
*.coverage
153137
*.coveragexml
@@ -195,8 +179,6 @@ PublishScripts/
195179

196180
# NuGet Packages
197181
*.nupkg
198-
# NuGet Symbol Packages
199-
*.snupkg
200182
# The packages folder can be ignored because of Package Restore
201183
**/[Pp]ackages/*
202184
# except build/, which is used as an MSBuild target.
@@ -221,14 +203,12 @@ BundleArtifacts/
221203
Package.StoreAssociation.xml
222204
_pkginfo.txt
223205
*.appx
224-
*.appxbundle
225-
*.appxupload
226206

227207
# Visual Studio cache files
228208
# files ending in .cache can be ignored
229209
*.[Cc]ache
230210
# but keep track of directories ending in .cache
231-
!?*.[Cc]ache/
211+
!*.[Cc]ache/
232212

233213
# Others
234214
ClientBin/
@@ -241,7 +221,7 @@ ClientBin/
241221
*.publishsettings
242222
orleans.codegen.cs
243223

244-
# Including strong name files can present a security risk
224+
# Including strong name files can present a security risk
245225
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
246226
#*.snk
247227

@@ -272,9 +252,6 @@ ServiceFabricBackup/
272252
*.bim.layout
273253
*.bim_*.settings
274254
*.rptproj.rsuser
275-
*- [Bb]ackup.rdl
276-
*- [Bb]ackup ([0-9]).rdl
277-
*- [Bb]ackup ([0-9][0-9]).rdl
278255

279256
# Microsoft Fakes
280257
FakesAssemblies/
@@ -310,8 +287,12 @@ paket-files/
310287
# FAKE - F# Make
311288
.fake/
312289

313-
# CodeRush personal settings
314-
.cr/personal
290+
# JetBrains Rider
291+
.idea/
292+
*.sln.iml
293+
294+
# CodeRush
295+
.cr/
315296

316297
# Python Tools for Visual Studio (PTVS)
317298
__pycache__/
@@ -336,7 +317,7 @@ __pycache__/
336317
# OpenCover UI analysis results
337318
OpenCover/
338319

339-
# Azure Stream Analytics local run output
320+
# Azure Stream Analytics local run output
340321
ASALocalRun/
341322

342323
# MSBuild Binary and Structured Log
@@ -345,25 +326,6 @@ ASALocalRun/
345326
# NVidia Nsight GPU debugger configuration file
346327
*.nvuser
347328

348-
# MFractors (Xamarin productivity tool) working folder
329+
# MFractors (Xamarin productivity tool) working folder
349330
.mfractor/
350-
351-
# Local History for Visual Studio
352-
.localhistory/
353-
354-
# BeatPulse healthcheck temp database
355-
healthchecksdb
356-
357-
# Backup folder for Package Reference Convert tool in Visual Studio 2017
358-
MigrationBackup/
359-
360-
# Ionide (cross platform F# VS Code tools) working folder
361-
.ionide/
362-
363-
# Fody - auto-generated XML schema
364-
FodyWeavers.xsd
365-
/src/FlickrNet.Core/.editorconfig
366-
/docs/SandCastleDocuments.xml
367-
/docs/SandCastleDocuments.xml
368-
369-
*dotnet-install.sh
331+
.Rproj.user

.slopwatch/baseline.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"version": 1,
3+
"createdAt": "2026-02-15T06:27:11.4396406+00:00",
4+
"updatedAt": "2026-02-15T06:27:11.4416395+00:00",
5+
"description": "Initial baseline created by 'slopwatch init' on 2026-02-15 06:27:11 UTC",
6+
"entries": [
7+
{
8+
"hash": "84e5829b6946053c",
9+
"ruleId": "SW003",
10+
"filePath": "src/Flickr.Net/Internals/LockFile.cs",
11+
"lineNumber": 90,
12+
"codeSnippet": "catch (IOException)\r\n {\r\n // could fail if already acquired elsewhere\r\n }",
13+
"message": "Empty catch block swallows exceptions without handling",
14+
"baselinedAt": "2026-02-15T06:27:11.4415193+00:00"
15+
},
16+
{
17+
"hash": "a2d64fcf64bccc06",
18+
"ruleId": "SW003",
19+
"filePath": "src/Flickr.Net/Internals/UtilityMethods.cs",
20+
"lineNumber": 255,
21+
"codeSnippet": "catch (FormatException)\r\n {\r\n }",
22+
"message": "Empty catch block swallows exceptions without handling",
23+
"baselinedAt": "2026-02-15T06:27:11.4415744+00:00"
24+
},
25+
{
26+
"hash": "f937ffd4d96ce617",
27+
"ruleId": "SW003",
28+
"filePath": "src/Flickr.Net/Internals/UtilityMethods.cs",
29+
"lineNumber": 300,
30+
"codeSnippet": "catch (FormatException)\r\n {\r\n#if DEBUG\r\n throw;\r\n#endif\r\n // ...",
31+
"message": "Empty catch block swallows exceptions without handling",
32+
"baselinedAt": "2026-02-15T06:27:11.4416356+00:00"
33+
},
34+
{
35+
"hash": "0fee9847472d06c4",
36+
"ruleId": "SW003",
37+
"filePath": "src/Flickr.Net/Internals/JsonConverters/DateTimeGranularityConverter.cs",
38+
"lineNumber": 47,
39+
"codeSnippet": "catch { }",
40+
"message": "Empty catch block swallows exceptions without handling",
41+
"baselinedAt": "2026-02-15T06:27:11.4416378+00:00"
42+
}
43+
]
44+
}

src/Flickr.Net.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1010
..\LICENSE = ..\LICENSE
1111
..\README.md = ..\README.md
1212
global.json = global.json
13+
..\.gitignore = ..\.gitignore
1314
EndProjectSection
1415
EndProject
1516
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Flickr.Net", "Flickr.Net\Flickr.Net.csproj", "{D72B5050-6BF3-4E05-B51B-4ECDDC24FE12}"

src/Flickr.Net/Flickr.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Title>Flickr API Client</Title>
55
<Description>The API is an HTTP-based interface created for developers keen on building application for Flickr.</Description>
66
<PackageTags>Flickr;Api;Photo;Video</PackageTags>
7-
<PackageIcon>logo_small.png</PackageIcon>
7+
<!-- <PackageIcon>logo_small.png</PackageIcon>-->
88
<PackageReadmeFile>README.md</PackageReadmeFile>
99
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1010
<PackageProjectUrl>https://github.com/st0o0/Flickr.Net</PackageProjectUrl>

src/Flickr.Net/packages.lock.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": 2,
3+
"dependencies": {
4+
"net8.0": {
5+
"Newtonsoft.Json": {
6+
"type": "Direct",
7+
"requested": "[13.0.4, )",
8+
"resolved": "13.0.4",
9+
"contentHash": "pdgNNMai3zv51W5aq268sujXUyx7SNdE2bj1wZcWjAQrKMFZV260lbqYop1d2GM67JI1huLRwxo9ZqnfF/lC6A=="
10+
},
11+
"System.Text.Json": {
12+
"type": "Direct",
13+
"requested": "[8.0.6, )",
14+
"resolved": "8.0.6",
15+
"contentHash": "BvSpVBsVN9b+Y+wONbvJOHd1HjXQf33+XiC28ZMOwRsYb42mz3Q8YHnpTSwpwJLqYCMqM+0UUVC3V+pi25XfkQ=="
16+
}
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)