mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
39 lines
961 B
JSON
39 lines
961 B
JSON
|
{
|
||
|
"diagnostic.displayByAle": false,
|
||
|
"diagnostic.enable": true,
|
||
|
"diagnostic.level": "hint",
|
||
|
"diagnostic-languageserver.enable": true,
|
||
|
"diagnostic-languageserver.filetypes": {
|
||
|
"sh": "shellcheck",
|
||
|
"python": "pylint"
|
||
|
},
|
||
|
"diagnostic-languageserver.mergeConfig": true,
|
||
|
"diagnostic-languageserver.formatFiletypes": {
|
||
|
"sh": "shfmt",
|
||
|
"python": ["black", "isort"]
|
||
|
},
|
||
|
"diagnostic-languageserver.formatters": {
|
||
|
"shfmt": {
|
||
|
"command": "shfmt",
|
||
|
"args": ["-i", "4", "-ci", "-sr"]
|
||
|
},
|
||
|
"black": {
|
||
|
"command": "black"
|
||
|
}
|
||
|
},
|
||
|
"pyright.organizeimports.provider": "isort",
|
||
|
"pyright.completion.importSupport": true,
|
||
|
"pyright.enable": true,
|
||
|
"python.linting.pylintEnabled": true,
|
||
|
"python.linting.pylintPath": "/usr/bin/pylint",
|
||
|
"python.formatting.blackPath": "/usr/bin/black",
|
||
|
"python.analysis.autoSearchPaths": true,
|
||
|
"python.venvPath": "env",
|
||
|
"languageserver": {
|
||
|
"python": {
|
||
|
"command": "pyright",
|
||
|
"filetypes": ["python", "py"]
|
||
|
}
|
||
|
}
|
||
|
}
|