-
Notifications
You must be signed in to change notification settings - Fork 1
/
editor.sublime-project
74 lines (70 loc) · 1.79 KB
/
editor.sublime-project
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
{
"folders": [
{
"path": ".",
"name": "root",
"folder_exclude_patterns": [ ".svn", ".git", ".hg", "CVS", "node_modules", "venv", "__pycache__" ],
"follow_symlinks": true,
},
{
"path": "~/.config/sublime-text/Packages/StyleLint-Formatter",
"name": "local-packages",
"folder_exclude_patterns": [],
"follow_symlinks": true,
},
],
"settings": {
/* "default_encoding": "UTF-8", */
/* "default_line_ending": "unix", */
"detect_indentation": true,
/* "ensure_newline_at_eof_on_save": true, */
"show_definitions": false,
"show_line_endings": true,
/* "tab_size": 2, */
/* "translate_tabs_to_spaces": false, */
/* "trim_trailing_white_space_on_save": "all", */
"use_tab_stops": true,
"word_wrap": true,
/* StyleLint-Formatter */
"StyleLint-Formatter": {
"format_on_save": true,
"config_path": "${project_path}/.stylelintrc.js",
"node_path": {
"linux": "/usr/bin/node",
},
"local_stylelint_path": {
"linux": "${project_path}/node_modules/.bin/stylelint",
},
},
/* LSP */
"lsp_format_on_save": true,
"lsp_code_actions_on_save": {
"source.organizeImports": true,
"source.fixAll": true,
/* "source.fixAll.json": true, */
// "source.organizeImports.ruff": true,
// "source.fixAll.ruff": true,
},
"LSP": {
/* LSP-pyright */
"LSP-pyright": {
"enabled": true,
"settings": {
"python.pythonPath": "${project_path}/venv/bin/python",
"python.venvPath": "${project_path}/venv",
"pyright.dev_environment": "sublime_text",
},
},
/* LSP-ruff */
"LSP-ruff": {
"enabled": true,
"initializationOptions": {
"settings": {
"lint.args": [ "--config", "${project_path}/pyproject.toml" ],
"format.args": [ "--config", "${project_path}/pyproject.toml" ],
},
},
},
},
},
}