1+ {
2+ "rules" : [
3+ {
4+ "id" : " SLNX001" ,
5+ "name" : " Input file not found" ,
6+ "description" : " The specified .slnx file does not exist." ,
7+ "engineId" : " slnx-validator" ,
8+ "cleanCodeAttribute" : " COMPLETE" ,
9+ "type" : " BUG" ,
10+ "severity" : " MAJOR" ,
11+ "impacts" : [
12+ {
13+ "softwareQuality" : " MAINTAINABILITY" ,
14+ "severity" : " HIGH"
15+ }
16+ ]
17+ },
18+ {
19+ "id" : " SLNX002" ,
20+ "name" : " Invalid file extension" ,
21+ "description" : " The input file does not have a .slnx extension." ,
22+ "engineId" : " slnx-validator" ,
23+ "cleanCodeAttribute" : " CONVENTIONAL" ,
24+ "type" : " BUG" ,
25+ "severity" : " MINOR" ,
26+ "impacts" : [
27+ {
28+ "softwareQuality" : " MAINTAINABILITY" ,
29+ "severity" : " HIGH"
30+ }
31+ ]
32+ },
33+ {
34+ "id" : " SLNX003" ,
35+ "name" : " File is not a text file" ,
36+ "description" : " The file is binary and cannot be parsed as XML." ,
37+ "engineId" : " slnx-validator" ,
38+ "cleanCodeAttribute" : " COMPLETE" ,
39+ "type" : " BUG" ,
40+ "severity" : " MAJOR" ,
41+ "impacts" : [
42+ {
43+ "softwareQuality" : " MAINTAINABILITY" ,
44+ "severity" : " HIGH"
45+ }
46+ ]
47+ },
48+ {
49+ "id" : " SLNX010" ,
50+ "name" : " Invalid XML" ,
51+ "description" : " The .slnx file is not valid XML." ,
52+ "engineId" : " slnx-validator" ,
53+ "cleanCodeAttribute" : " COMPLETE" ,
54+ "type" : " BUG" ,
55+ "severity" : " MAJOR" ,
56+ "impacts" : [
57+ {
58+ "softwareQuality" : " MAINTAINABILITY" ,
59+ "severity" : " HIGH"
60+ }
61+ ]
62+ },
63+ {
64+ "id" : " SLNX011" ,
65+ "name" : " Referenced file not found" ,
66+ "description" : " A file referenced in a <File Path=\" ...\" > element does not exist on disk." ,
67+ "engineId" : " slnx-validator" ,
68+ "cleanCodeAttribute" : " COMPLETE" ,
69+ "type" : " BUG" ,
70+ "severity" : " MAJOR" ,
71+ "impacts" : [
72+ {
73+ "softwareQuality" : " MAINTAINABILITY" ,
74+ "severity" : " HIGH"
75+ }
76+ ]
77+ },
78+ {
79+ "id" : " SLNX012" ,
80+ "name" : " Invalid wildcard usage" ,
81+ "description" : " A <File Path=\" ...\" > element contains a wildcard pattern, which is not supported." ,
82+ "engineId" : " slnx-validator" ,
83+ "cleanCodeAttribute" : " COMPLETE" ,
84+ "type" : " BUG" ,
85+ "severity" : " MINOR" ,
86+ "impacts" : [
87+ {
88+ "softwareQuality" : " MAINTAINABILITY" ,
89+ "severity" : " HIGH"
90+ }
91+ ]
92+ },
93+ {
94+ "id" : " SLNX013" ,
95+ "name" : " XSD schema violation" ,
96+ "description" : " The XML structure violates the .slnx schema." ,
97+ "engineId" : " slnx-validator" ,
98+ "cleanCodeAttribute" : " COMPLETE" ,
99+ "type" : " BUG" ,
100+ "severity" : " MAJOR" ,
101+ "impacts" : [
102+ {
103+ "softwareQuality" : " MAINTAINABILITY" ,
104+ "severity" : " MEDIUM"
105+ }
106+ ]
107+ }
108+ ],
109+ "issues" : [
110+ {
111+ "ruleId" : " SLNX001" ,
112+ "primaryLocation" : {
113+ "message" : " Sample message for FileNotFound" ,
114+ "filePath" : " Solution.slnx" ,
115+ "textRange" : {
116+ "startLine" : 1
117+ }
118+ }
119+ },
120+ {
121+ "ruleId" : " SLNX002" ,
122+ "primaryLocation" : {
123+ "message" : " Sample message for InvalidExtension" ,
124+ "filePath" : " Solution.slnx" ,
125+ "textRange" : {
126+ "startLine" : 2
127+ }
128+ }
129+ },
130+ {
131+ "ruleId" : " SLNX003" ,
132+ "primaryLocation" : {
133+ "message" : " Sample message for NotATextFile" ,
134+ "filePath" : " Solution.slnx" ,
135+ "textRange" : {
136+ "startLine" : 3
137+ }
138+ }
139+ },
140+ {
141+ "ruleId" : " SLNX010" ,
142+ "primaryLocation" : {
143+ "message" : " Sample message for InvalidXml" ,
144+ "filePath" : " Solution.slnx" ,
145+ "textRange" : {
146+ "startLine" : 4
147+ }
148+ }
149+ },
150+ {
151+ "ruleId" : " SLNX011" ,
152+ "primaryLocation" : {
153+ "message" : " Sample message for ReferencedFileNotFound" ,
154+ "filePath" : " Solution.slnx" ,
155+ "textRange" : {
156+ "startLine" : 5
157+ }
158+ }
159+ },
160+ {
161+ "ruleId" : " SLNX012" ,
162+ "primaryLocation" : {
163+ "message" : " Sample message for InvalidWildcardUsage" ,
164+ "filePath" : " Solution.slnx" ,
165+ "textRange" : {
166+ "startLine" : 6
167+ }
168+ }
169+ },
170+ {
171+ "ruleId" : " SLNX013" ,
172+ "primaryLocation" : {
173+ "message" : " Sample message for XsdViolation" ,
174+ "filePath" : " Solution.slnx" ,
175+ "textRange" : {
176+ "startLine" : 7
177+ }
178+ }
179+ }
180+ ]
181+ }
0 commit comments