mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-01 03:51:59 +01:00
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"format_on_save": "on",
|
|
"languages": {
|
|
"JavaScript": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
},
|
|
"JSON": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
},
|
|
"TypeScript": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
},
|
|
"CSS": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
},
|
|
"SCSS": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
},
|
|
"YAML": {
|
|
"formatter": {
|
|
"external": {
|
|
"command": "./node_modules/.bin/prettier",
|
|
"arguments": ["--stdin-filepath", "{buffer_path}"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"lsp": {
|
|
"eslint": {
|
|
"settings": {
|
|
"codeActionOnSave": {
|
|
"rules": ["import/order"]
|
|
},
|
|
"nodePath": "./node_modules/.bin",
|
|
"language_ids": ["typescript", "javascript", "typescriptreact", "javascriptreact"]
|
|
}
|
|
}
|
|
}
|
|
}
|