-
Notifications
You must be signed in to change notification settings - Fork 109
/
.devcontainer.json
94 lines (93 loc) · 2.98 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Update the VARIANT arg in docker-compose.yml to pick a Python version: 3, 3.8, 3.7, 3.6
{
"name": "dbt",
"dockerFile" : "Dockerfile",
"settings": {
"terminal.integrated.defaultProfile.linux#": "/bin/sh",
"files.associations": {
"*.sql": "jinja-sql",
"*.sqlfluff": "ini",
"*.yml": "yaml",
"**/target/**": ""
},
"sql.linter.executablePath": "/usr/local/bin/sqlfluff",
"sql.format.enable": true,
"sql.linter.run": "onType",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/__pycache__": true
},
"findrelated.workspaceRulesets": [
{
"name": "sql",
"rules": [
{
"pattern": "^(.*/)?models/(.*/)?(.+\\.sql)$",
"locators": [
"**/compiled/**/$3"
]
},
{
"pattern": "^(.*/)?compiled/(.*/)?(.+\\.sql)$",
"locators": [
"**/run/**/$3"
]
},
{
"pattern": "^(.*/)?run/(.*/)?(.+\\.sql)$",
"locators": [
"**/models/**/$3"
]
}
]
}
],
"findrelated.applyRulesets": [
"sql"
],
"findrelated.applyWorkspaceRulesets": [
"sql"
],
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.labelFormat": "medium",
"workbench.editor.revealIfOpen": true,
"editor.rulers": [
99
],
"yaml.schemas": {
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/dbt_yml_files.json": [
"/*.yml",
"!profiles.yml",
"!dbt_project.yml",
"!packages.yml",
"!selectors.yml",
"!profile_template.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/dbt_project.json": [
"dbt_project.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/selectors.json": [
"selectors.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/packages.json": [
"packages.yml"
]
}
},
"extensions": [
"bastienboutonnet.vscode-dbt",
"dorzey.vscode-sqlfluff",
"editorconfig.editorconfig",
"amodio.find-related",
"ms-azuretools.vscode-docker",
"ms-python.python",
"visualstudioexptteam.vscodeintellicode",
"samuelcolvin.jinjahtml",
"redhat.vscode-yaml"
],
"remoteUser": "vscode"
}