|
1 | 1 | {
|
2 | 2 | "name": "vscode-sqlfluff",
|
3 | 3 | "displayName": "sqlfluff",
|
4 |
| - "version": "3.2.1", |
| 4 | + "version": "3.3.0", |
5 | 5 | "description": "A linter and auto-formatter for SQLfluff, a popular linting tool for SQL and dbt.",
|
6 | 6 | "publisher": "dorzey",
|
7 | 7 | "icon": "images/icon.png",
|
|
76 | 76 | "configuration": {
|
77 | 77 | "properties": {
|
78 | 78 | "sqlfluff.config": {
|
| 79 | + "scope": "resource", |
79 | 80 | "type": "string",
|
80 | 81 | "default": "",
|
81 | 82 | "description": "Specify an additional configuration file that overrides the standard configuration files."
|
82 | 83 | },
|
83 | 84 | "sqlfluff.environmentVariables": {
|
| 85 | + "scope": "resource", |
84 | 86 | "type": "array",
|
85 | 87 | "default": [
|
86 | 88 | {
|
|
109 | 111 | "markdownDescription": "DEPRECATED: Use sqlfluff.env.environmentVariables"
|
110 | 112 | },
|
111 | 113 | "sqlfluff.executablePath": {
|
| 114 | + "scope": "resource", |
112 | 115 | "type": "string",
|
113 | 116 | "default": "sqlfluff",
|
114 | 117 | "description": "Points to the sqlfluff executable."
|
115 | 118 | },
|
116 | 119 | "sqlfluff.dialect": {
|
| 120 | + "scope": "resource", |
117 | 121 | "type": "string",
|
118 | 122 | "enum": [
|
119 | 123 | "",
|
|
144 | 148 | "description": "The dialect of SQL to lint."
|
145 | 149 | },
|
146 | 150 | "sqlfluff.excludeRules": {
|
| 151 | + "scope": "resource", |
147 | 152 | "type": "array",
|
148 | 153 | "default": [],
|
149 | 154 | "description": "Exclude specific rules. The excludedRules from the global settings and workspace settings are combined."
|
150 | 155 | },
|
151 | 156 | "sqlfluff.ignoreLocalConfig": {
|
| 157 | + "scope": "resource", |
152 | 158 | "type": "boolean",
|
153 | 159 | "default": false,
|
154 | 160 | "description": "Ignore config files in default search path locations. Can be used with config to only reference the custom config file."
|
155 | 161 | },
|
156 | 162 | "sqlfluff.ignoreParsing": {
|
| 163 | + "scope": "resource", |
157 | 164 | "type": "boolean",
|
158 | 165 | "default": false,
|
159 | 166 | "description": "Determines if the sql linter should ignore parsing errors."
|
160 | 167 | },
|
161 | 168 | "sqlfluff.rules": {
|
| 169 | + "scope": "resource", |
162 | 170 | "type": "array",
|
163 | 171 | "default": [],
|
164 | 172 | "description": "Narrow the search to only specific rules. The rules from the global settings and workspace settings are combined."
|
165 | 173 | },
|
166 | 174 | "sqlfluff.shell": {
|
| 175 | + "scope": "resource", |
167 | 176 | "type": [
|
168 | 177 | "boolean",
|
169 | 178 | "string"
|
|
172 | 181 | "markdownDescription": "Set the shell for the child process. This can be set to false (limited shell features), true (shell features such as the `dir` command), or the path to the shell executable."
|
173 | 182 | },
|
174 | 183 | "sqlfluff.suppressNotifications": {
|
| 184 | + "scope": "resource", |
175 | 185 | "type": "boolean",
|
176 | 186 | "default": false,
|
177 | 187 | "description": "Hide notification messages. The output channel will still be populated."
|
178 | 188 | },
|
179 | 189 | "sqlfluff.workingDirectory": {
|
| 190 | + "scope": "resource", |
180 | 191 | "type": "string",
|
181 | 192 | "default": "",
|
182 | 193 | "markdownDescription": "Set the working directory for the `sqlfluff lint` and `sqlfluff fix` commands. Use an absolute path (can use variables if necessary). This defaults to the root path of the workspace. This setting should only be changed if absolutely necessary."
|
183 | 194 | },
|
184 | 195 | "sqlfluff.codeActions.excludeRules.workspace": {
|
| 196 | + "scope": "resource", |
185 | 197 | "type": "boolean",
|
186 | 198 | "default": true,
|
187 | 199 | "markdownDescription": "Determines if the `Exclude Rule <rule> from Workspace Settings` code action is enabled."
|
188 | 200 | },
|
189 | 201 | "sqlfluff.codeActions.excludeRules.global": {
|
| 202 | + "scope": "resource", |
190 | 203 | "type": "boolean",
|
191 | 204 | "default": true,
|
192 | 205 | "markdownDescription": "Determines if the `Exclude Rule <rule> from Global Settings` code action is enabled."
|
193 | 206 | },
|
194 | 207 | "sqlfluff.codeActions.noqa": {
|
| 208 | + "scope": "resource", |
195 | 209 | "type": [
|
196 | 210 | "array",
|
197 | 211 | "boolean"
|
|
219 | 233 | "markdownDescription": "Set the rules that will not show the `noqa` code actions. Set this to `false` to disable all `noqa` code actions."
|
220 | 234 | },
|
221 | 235 | "sqlfluff.env.environmentVariables": {
|
| 236 | + "scope": "resource", |
222 | 237 | "type": "array",
|
223 | 238 | "default": [
|
224 | 239 | {
|
|
247 | 262 | "markdownDescription": "Set the environment variables for the linter and formatter."
|
248 | 263 | },
|
249 | 264 | "sqlfluff.env.customDotEnvFiles": {
|
| 265 | + "scope": "resource", |
250 | 266 | "type": "array",
|
251 | 267 | "default": [],
|
252 | 268 | "description": "Load the .env file from the specified paths."
|
253 | 269 | },
|
254 | 270 | "sqlfluff.env.useDotEnvFile": {
|
| 271 | + "scope": "resource", |
255 | 272 | "type": "boolean",
|
256 | 273 | "default": false,
|
257 | 274 | "description": "Load the .env file from the working directory."
|
258 | 275 | },
|
259 | 276 | "sqlfluff.format.arguments": {
|
| 277 | + "scope": "resource", |
260 | 278 | "type": "array",
|
261 | 279 | "default": [],
|
262 | 280 | "markdownDescription": "This is useful for setting extra arguments for the `sqlfluff fix` command. Include `--force` if running sqlfluff < 3.0.0."
|
263 | 281 | },
|
264 | 282 | "sqlfluff.format.enabled": {
|
| 283 | + "scope": "resource", |
265 | 284 | "type": "boolean",
|
266 | 285 | "default": true,
|
267 | 286 | "description": "Determines if the document formatter is enabled."
|
268 | 287 | },
|
269 | 288 | "sqlfluff.format.languages": {
|
| 289 | + "scope": "resource", |
270 | 290 | "type": "array",
|
271 | 291 | "default": [
|
272 | 292 | "sql",
|
|
306 | 326 | "description": "The languages formatting is enabled for."
|
307 | 327 | },
|
308 | 328 | "sqlfluff.experimental.format.executeInTerminal": {
|
| 329 | + "scope": "resource", |
309 | 330 | "type": "boolean",
|
310 | 331 | "default": false,
|
311 | 332 | "markdownDescription": "Determines if the `sqlfluff fix` command overwrites the file contents instead of this extension. You should not change the file contents while formatting is occurring if this is enabled. May lead to problems if `editor.formatOnSave = true`. This allows formatting to work when the templater is set to dbt. This can help solve [Mojibake](https://en.wikipedia.org/wiki/Mojibake) issues."
|
312 | 333 | },
|
313 | 334 | "sqlfluff.linter.arguments": {
|
| 335 | + "scope": "resource", |
314 | 336 | "type": "array",
|
315 | 337 | "default": [],
|
316 | 338 | "markdownDescription": "This is useful for setting extra arguments for the `sqlfluff lint` command."
|
317 | 339 | },
|
318 | 340 | "sqlfluff.linter.delay": {
|
| 341 | + "scope": "resource", |
319 | 342 | "type": "number",
|
320 | 343 | "default": 100,
|
321 | 344 | "markdownDescription": "Set the delay (milliseconds) before running the linter when using `sqlfluff.linter.run = 'onType'`."
|
322 | 345 | },
|
323 | 346 | "sqlfluff.linter.diagnosticSeverity": {
|
| 347 | + "scope": "resource", |
324 | 348 | "type": "string",
|
325 | 349 | "enum": [
|
326 | 350 | "error",
|
|
332 | 356 | "markdownDescription": "Set the default diagnostic severity of the linting results."
|
333 | 357 | },
|
334 | 358 | "sqlfluff.linter.diagnosticSeverityByRule": {
|
| 359 | + "scope": "resource", |
335 | 360 | "type": "array",
|
336 | 361 | "default": [],
|
337 | 362 | "items": {
|
|
361 | 386 | "markdownDescription": "Set the diagnostic severity of individual linting results."
|
362 | 387 | },
|
363 | 388 | "sqlfluff.linter.lintEntireProject": {
|
| 389 | + "scope": "resource", |
364 | 390 | "type": "boolean",
|
365 | 391 | "default": false,
|
366 | 392 | "markdownDescription": "Determines if the linter will lint the workspaces on startup and configuration changes. Does not work with `dbt-core-interface`."
|
367 | 393 | },
|
368 | 394 | "sqlfluff.linter.languages": {
|
| 395 | + "scope": "resource", |
369 | 396 | "type": "array",
|
370 | 397 | "default": [
|
371 | 398 | "sql",
|
|
377 | 404 | "description": "The languages linting is enabled for."
|
378 | 405 | },
|
379 | 406 | "sqlfluff.linter.run": {
|
| 407 | + "scope": "resource", |
380 | 408 | "type": "string",
|
381 | 409 | "enum": [
|
382 | 410 | "onType",
|
|
392 | 420 | ]
|
393 | 421 | },
|
394 | 422 | "sqlfluff.dbtInterface.enabled": {
|
| 423 | + "scope": "resource", |
395 | 424 | "type": "boolean",
|
396 | 425 | "default": false,
|
397 | 426 | "markdownDescription": "Enable this if `dbt-core-interface` is installed. This disables all other options except for `sqlfluff.config`."
|
398 | 427 | },
|
399 | 428 | "sqlfluff.dbtInterface.host": {
|
| 429 | + "scope": "resource", |
400 | 430 | "type": "string",
|
401 | 431 | "default": "localhost",
|
402 | 432 | "description": "The host for the dbt-interface server."
|
403 | 433 | },
|
404 | 434 | "sqlfluff.dbtInterface.port": {
|
| 435 | + "scope": "resource", |
405 | 436 | "type": "number",
|
406 | 437 | "default": 8581,
|
407 | 438 | "description": "The port for the dbt-interface server."
|
|
0 commit comments