80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"tab_size": 2,
|
|
"hard_tabs": false,
|
|
"lsp": {
|
|
"stylelint-lsp": {
|
|
"settings": {
|
|
"stylelint": {
|
|
"packageManager": "pnpm",
|
|
"validate": ["css", "postcss", "astro"],
|
|
},
|
|
},
|
|
},
|
|
"vscode-css-language-server": {
|
|
"settings": {
|
|
"css": {
|
|
"lint": {
|
|
"propertyIgnoredDueToDisplay": "ignore",
|
|
"unknownAtRules": "ignore",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"languages": {
|
|
"Astro": {
|
|
"format_on_save": "on",
|
|
"formatter": [{ "code_action": "source.fixAll.stylelint" }, "prettier"],
|
|
"prettier": { "allowed": true },
|
|
"code_actions_on_format": { "source.fixAll.eslint": true },
|
|
},
|
|
"CSS": {
|
|
"format_on_save": "on",
|
|
"formatter": [{ "code_action": "source.fixAll.stylelint" }, "prettier"],
|
|
"prettier": { "allowed": true },
|
|
},
|
|
"TypeScript": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
"code_actions_on_format": { "source.fixAll.eslint": true },
|
|
},
|
|
"TSX": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
"code_actions_on_format": { "source.fixAll.eslint": true },
|
|
},
|
|
"JavaScript": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
"code_actions_on_format": { "source.fixAll.eslint": true },
|
|
},
|
|
"JSON": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
},
|
|
"JSONC": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
},
|
|
"Markdown": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
},
|
|
"YAML": {
|
|
"format_on_save": "on",
|
|
"formatter": "prettier",
|
|
"prettier": { "allowed": true },
|
|
},
|
|
},
|
|
|
|
"file_types": {
|
|
"JSONC": ["tsconfig.json", ".zed/settings.json"],
|
|
},
|
|
}
|