-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsettings.json
33 lines (30 loc) · 966 Bytes
/
settings.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
{
// only enable if you are using a virtual environment
"python.pythonPath": ".venv/bin/python",
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.formatting.provider": "black",
// prettier
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": false, // required
"editor.formatOnType": false, // required
"editor.formatOnSave": true,
// eslint
"eslint.workingDirectories": ["./", "./front", "./shared-components", "./statviz"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[javascript][javascriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"[typescript][typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}