-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.emil.json
62 lines (60 loc) · 1.92 KB
/
settings.emil.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
{
// ================================
// Editor
// ================================
"editor.formatOnSave": true,
"files.autoSave": "onFocusChange",
"diffEditor.codeLens": true,
"window.title": "🟥 ${activeEditorShort}${separator}${rootName}",
"workbench.colorCustomizations": {
"titleBar.activeForeground": "#fff",
"titleBar.activeBackground": "#a03033",
"titleBar.inactiveBackground": "#a03033",
"editorCursor.foreground": "#ff2222"
},
"workbench.iconTheme": "atom-icons",
"workbench.colorTheme": "Atom One Dark",
"workbench.tree.indent": 20,
// ================================
// Backend
// ================================
// mypy (type checker, linter)
"mypy-type-checker.importStrategy": "fromEnvironment",
"mypy-type-checker.args": ["--config-file", "backend/mypy.ini", "--no-pretty"],
// pytest
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["-c", "backend/pytest.ini"],
// Other
"python.envFile": "backend/.env",
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll": "never",
"source.organizeImports": "never"
},
// ruff (formatter, linter)
"editor.defaultFormatter": "charliermarsh.ruff"
},
// ================================
// Frontend
// ================================
"html.format.enable": false,
"[javascript][javascriptreact][typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll": "always",
"source.organizeImports": "always"
}
},
"[css][scss]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
},
"css.validate": true,
"less.validate": true,
"scss.validate": true,
"stylelint.configFile": "frontend/.stylelintrc",
"stylelint.enable": true,
"stylelint.validate": ["css", "scss"],
// ================================
// Other
// ================================
"svg.preview.background": "editor"
}