-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathsettings.json
86 lines (76 loc) · 2.19 KB
/
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
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
{
"files.exclude": {
"*.egg-info": true,
"*.log": false,
"**/*.js.map": true,
"**/*.min.js": true,
"**/*.pyc": true,
"build": true,
"htmlcov": true,
"node_modules": true,
"src/sentry/locale": true,
"src/sentry/static/sentry/dist/": true,
"model-manifest.json": true
},
"search.followSymlinks": false,
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"files.associations": {
"*.jsx": "javascriptreact"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.tabSize": 2
},
// Exclude Specific Files from Auto-Imports
"typescript.preferences.autoImportFileExcludePatterns": [
"**/node_modules/@testing-library/*",
"**/node_modules/@tanstack/react-query"
],
// Avoid relative imports
"typescript.preferences.importModuleSpecifier": "non-relative",
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[javascriptreact]": {
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"[less]": {
"editor.formatOnSave": true
},
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[html]": {
"editor.formatOnSave": false
},
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
// test discovery is sluggish and the UI around running
// tests is often in your way and misclicked
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"editor.tabSize": 4,
"restructuredtext.confPath": "",
"python.linting.enabled": true,
"python.linting.flake8Path": "${workspaceFolder}/.venv/bin/flake8",
"python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
"python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
"python.formatting.provider": "black",
"python.testing.pytestArgs": ["tests"]
}