@codacy/tools-unsupported-tools 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +261 -0
- package/dist/patterns/CodeNarc.json +4890 -0
- package/dist/patterns/Credo.json +1276 -0
- package/dist/patterns/PHPCS.json +10230 -0
- package/dist/patterns/SonarCSharp.json +4328 -0
- package/dist/patterns/SonarVisualBasic.json +1462 -0
- package/dist/patterns/TSQLLint.json +272 -0
- package/dist/patterns/ameba.json +686 -0
- package/dist/patterns/codacy-scalameta-pro.json +856 -0
- package/dist/patterns/coffeelint.json +479 -0
- package/dist/patterns/dartanalyzer.json +10400 -0
- package/dist/patterns/phpmd.json +573 -0
- package/dist/patterns/psscriptanalyzer.json +624 -0
- package/package.json +37 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "TSQLLint_case-sensitive-variables",
|
|
4
|
+
"category": "CodeStyle",
|
|
5
|
+
"severityLevel": "Info",
|
|
6
|
+
"title": "Enforce Consistent Casing for Variable Names",
|
|
7
|
+
"enabled": false,
|
|
8
|
+
"languages": ["SQL", "TSQL"],
|
|
9
|
+
"parameters": []
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "TSQLLint_conditional-begin-end",
|
|
13
|
+
"category": "CodeStyle",
|
|
14
|
+
"severityLevel": "Info",
|
|
15
|
+
"title": "Enforce BEGIN and END in Conditional Logic Blocks",
|
|
16
|
+
"enabled": true,
|
|
17
|
+
"languages": ["SQL", "TSQL"],
|
|
18
|
+
"parameters": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "TSQLLint_count-star",
|
|
22
|
+
"category": "Performance",
|
|
23
|
+
"severityLevel": "Warning",
|
|
24
|
+
"title": "Disallow COUNT(*) Usage",
|
|
25
|
+
"enabled": false,
|
|
26
|
+
"languages": ["SQL", "TSQL"],
|
|
27
|
+
"parameters": []
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "TSQLLint_cross-database-transaction",
|
|
31
|
+
"category": "ErrorProne",
|
|
32
|
+
"severityLevel": "High",
|
|
33
|
+
"title": "Avoid Cross-Database Transactions for Inserts or Updates",
|
|
34
|
+
"enabled": true,
|
|
35
|
+
"languages": ["SQL", "TSQL"],
|
|
36
|
+
"parameters": []
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "TSQLLint_data-compression",
|
|
40
|
+
"category": "Performance",
|
|
41
|
+
"severityLevel": "Warning",
|
|
42
|
+
"title": "Enforce Data Compression on Tables",
|
|
43
|
+
"enabled": true,
|
|
44
|
+
"languages": ["SQL", "TSQL"],
|
|
45
|
+
"parameters": []
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "TSQLLint_data-type-length",
|
|
49
|
+
"category": "BestPractice",
|
|
50
|
+
"severityLevel": "Warning",
|
|
51
|
+
"title": "Enforce Data Type Length Specification",
|
|
52
|
+
"enabled": true,
|
|
53
|
+
"languages": ["SQL", "TSQL"],
|
|
54
|
+
"parameters": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "TSQLLint_delete-where",
|
|
58
|
+
"category": "ErrorProne",
|
|
59
|
+
"severityLevel": "Error",
|
|
60
|
+
"title": "Enforce WHERE Clause in DELETE Statements",
|
|
61
|
+
"enabled": false,
|
|
62
|
+
"languages": ["SQL", "TSQL"],
|
|
63
|
+
"parameters": []
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "TSQLLint_disallow-cursors",
|
|
67
|
+
"category": "Performance",
|
|
68
|
+
"severityLevel": "Warning",
|
|
69
|
+
"title": "Disallow Use of CURSOR Statements",
|
|
70
|
+
"enabled": true,
|
|
71
|
+
"languages": ["SQL", "TSQL"],
|
|
72
|
+
"parameters": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "TSQLLint_duplicate-empty-line",
|
|
76
|
+
"category": "ErrorProne",
|
|
77
|
+
"severityLevel": "Warning",
|
|
78
|
+
"title": "Duplicate new line found",
|
|
79
|
+
"enabled": false,
|
|
80
|
+
"languages": ["SQL", "TSQL"],
|
|
81
|
+
"parameters": []
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "TSQLLint_duplicate-go",
|
|
85
|
+
"category": "ErrorProne",
|
|
86
|
+
"severityLevel": "Warning",
|
|
87
|
+
"title": "Duplicate GO statement found",
|
|
88
|
+
"enabled": false,
|
|
89
|
+
"languages": ["SQL", "TSQL"],
|
|
90
|
+
"parameters": []
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "TSQLLint_full-text",
|
|
94
|
+
"category": "Performance",
|
|
95
|
+
"severityLevel": "Warning",
|
|
96
|
+
"title": "Avoid Use of Full Text Predicate",
|
|
97
|
+
"enabled": true,
|
|
98
|
+
"languages": ["SQL", "TSQL"],
|
|
99
|
+
"parameters": []
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "TSQLLint_information-schema",
|
|
103
|
+
"category": "BestPractice",
|
|
104
|
+
"severityLevel": "Warning",
|
|
105
|
+
"title": "Enforce Use of SYS.Partitions Instead of INFORMATION_SCHEMA Views",
|
|
106
|
+
"enabled": true,
|
|
107
|
+
"languages": ["SQL", "TSQL"],
|
|
108
|
+
"parameters": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "TSQLLint_keyword-capitalization",
|
|
112
|
+
"category": "CodeStyle",
|
|
113
|
+
"severityLevel": "Info",
|
|
114
|
+
"title": "Enforce Capitalization of TSQL Keywords",
|
|
115
|
+
"enabled": true,
|
|
116
|
+
"languages": ["SQL", "TSQL"],
|
|
117
|
+
"parameters": []
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "TSQLLint_linked-server",
|
|
121
|
+
"category": "Performance",
|
|
122
|
+
"severityLevel": "Warning",
|
|
123
|
+
"title": "Disallow Linked Server Queries",
|
|
124
|
+
"enabled": true,
|
|
125
|
+
"languages": ["SQL", "TSQL"],
|
|
126
|
+
"parameters": []
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "TSQLLint_multi-table-alias",
|
|
130
|
+
"category": "BestPractice",
|
|
131
|
+
"severityLevel": "Warning",
|
|
132
|
+
"title": "Enforce Aliasing in Multi-Table Joins",
|
|
133
|
+
"enabled": true,
|
|
134
|
+
"languages": ["SQL", "TSQL"],
|
|
135
|
+
"parameters": []
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "TSQLLint_named-constraint",
|
|
139
|
+
"category": "ErrorProne",
|
|
140
|
+
"severityLevel": "High",
|
|
141
|
+
"title": "Disallow Named Constraints in Temporary Tables",
|
|
142
|
+
"enabled": false,
|
|
143
|
+
"languages": ["SQL", "TSQL"],
|
|
144
|
+
"parameters": []
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "TSQLLint_non-sargable",
|
|
148
|
+
"category": "Performance",
|
|
149
|
+
"severityLevel": "High",
|
|
150
|
+
"title": "Avoid Functions on Filter Clauses or Join Predicates to Maintain SARGability",
|
|
151
|
+
"enabled": true,
|
|
152
|
+
"languages": ["SQL", "TSQL"],
|
|
153
|
+
"parameters": []
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "TSQLLint_object-property",
|
|
157
|
+
"category": "BestPractice",
|
|
158
|
+
"severityLevel": "Info",
|
|
159
|
+
"title": "Disallow Using ObjectProperty Function Over sys Views",
|
|
160
|
+
"enabled": true,
|
|
161
|
+
"languages": ["SQL", "TSQL"],
|
|
162
|
+
"parameters": []
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "TSQLLint_print-statement",
|
|
166
|
+
"category": "BestPractice",
|
|
167
|
+
"severityLevel": "Info",
|
|
168
|
+
"title": "Disallow PRINT Statements",
|
|
169
|
+
"enabled": true,
|
|
170
|
+
"languages": ["SQL", "TSQL"],
|
|
171
|
+
"parameters": []
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "TSQLLint_schema-qualify",
|
|
175
|
+
"category": "BestPractice",
|
|
176
|
+
"severityLevel": "Warning",
|
|
177
|
+
"title": "Enforce Schema Qualification of Object Names",
|
|
178
|
+
"enabled": true,
|
|
179
|
+
"languages": ["SQL", "TSQL"],
|
|
180
|
+
"parameters": []
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "TSQLLint_select-star",
|
|
184
|
+
"category": "BestPractice",
|
|
185
|
+
"severityLevel": "Warning",
|
|
186
|
+
"title": "Disallow SELECT *",
|
|
187
|
+
"enabled": true,
|
|
188
|
+
"languages": ["SQL", "TSQL"],
|
|
189
|
+
"parameters": []
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "TSQLLint_semicolon-termination",
|
|
193
|
+
"category": "CodeStyle",
|
|
194
|
+
"severityLevel": "Info",
|
|
195
|
+
"title": "Enforce Statement Termination with Semicolon",
|
|
196
|
+
"enabled": true,
|
|
197
|
+
"languages": ["SQL", "TSQL"],
|
|
198
|
+
"parameters": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "TSQLLint_set-ansi",
|
|
202
|
+
"category": "BestPractice",
|
|
203
|
+
"severityLevel": "Warning",
|
|
204
|
+
"title": "Enforce SET ANSI_NULLS ON Near Top of File",
|
|
205
|
+
"enabled": true,
|
|
206
|
+
"languages": ["SQL", "TSQL"],
|
|
207
|
+
"parameters": []
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "TSQLLint_set-nocount",
|
|
211
|
+
"category": "BestPractice",
|
|
212
|
+
"severityLevel": "Warning",
|
|
213
|
+
"title": "Enforce SET NOCOUNT ON Near Top of File",
|
|
214
|
+
"enabled": true,
|
|
215
|
+
"languages": ["SQL", "TSQL"],
|
|
216
|
+
"parameters": []
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "TSQLLint_set-quoted-identifier",
|
|
220
|
+
"category": "Compatibility",
|
|
221
|
+
"severityLevel": "Warning",
|
|
222
|
+
"title": "Enforce SET QUOTED_IDENTIFIER ON near top of file",
|
|
223
|
+
"enabled": true,
|
|
224
|
+
"languages": ["SQL", "TSQL"],
|
|
225
|
+
"parameters": []
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "TSQLLint_set-transaction-isolation-level",
|
|
229
|
+
"category": "BestPractice",
|
|
230
|
+
"severityLevel": "Warning",
|
|
231
|
+
"title": "Enforce SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED Near Top of File",
|
|
232
|
+
"enabled": true,
|
|
233
|
+
"languages": ["SQL", "TSQL"],
|
|
234
|
+
"parameters": []
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "TSQLLint_set-variable",
|
|
238
|
+
"category": "CodeStyle",
|
|
239
|
+
"severityLevel": "Info",
|
|
240
|
+
"title": "Enforce setting variable using SELECT statement",
|
|
241
|
+
"enabled": true,
|
|
242
|
+
"languages": ["SQL", "TSQL"],
|
|
243
|
+
"parameters": []
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "TSQLLint_unicode-string",
|
|
247
|
+
"category": "ErrorProne",
|
|
248
|
+
"severityLevel": "High",
|
|
249
|
+
"title": "Disallow Use of Unicode Characters in Non-Unicode Strings",
|
|
250
|
+
"enabled": true,
|
|
251
|
+
"languages": ["SQL", "TSQL"],
|
|
252
|
+
"parameters": []
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "TSQLLint_update-where",
|
|
256
|
+
"category": "ErrorProne",
|
|
257
|
+
"severityLevel": "High",
|
|
258
|
+
"title": "Enforce WHERE Clause in UPDATE Statements",
|
|
259
|
+
"enabled": false,
|
|
260
|
+
"languages": ["SQL", "TSQL"],
|
|
261
|
+
"parameters": []
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "TSQLLint_upper-lower",
|
|
265
|
+
"category": "Performance",
|
|
266
|
+
"severityLevel": "Warning",
|
|
267
|
+
"title": "Avoid Using UPPER or LOWER Functions in Comparisons in Case Insensitive Databases",
|
|
268
|
+
"enabled": true,
|
|
269
|
+
"languages": ["SQL", "TSQL"],
|
|
270
|
+
"parameters": []
|
|
271
|
+
}
|
|
272
|
+
]
|