mirror of
https://github.com/moeru-ai/airi.git
synced 2026-04-26 13:40:42 +00:00
chore(workspace): added Zed editor config
This commit is contained in:
parent
16ee78b627
commit
8f2074e0a0
1 changed files with 65 additions and 0 deletions
65
.zed/settings.json
Normal file
65
.zed/settings.json
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"languages": {
|
||||
"TypeScript": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"JavaScript": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"Vue.js": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"JSON": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"YAML": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
},
|
||||
"TOML": {
|
||||
"formatter": [],
|
||||
"format_on_save": "on",
|
||||
"code_actions_on_format": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"lsp": {
|
||||
"eslint": {
|
||||
"settings": {
|
||||
"rulesCustomizations": [
|
||||
// set all eslint errors/warnings to show as warnings
|
||||
{ "rule": "style/*", "severity": "off", "fixable": true },
|
||||
{ "rule": "format/*", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-indent", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-spacing", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-spaces", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-order", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-dangle", "severity": "off", "fixable": true },
|
||||
{ "rule": "*-newline", "severity": "off", "fixable": true },
|
||||
{ "rule": "*quotes", "severity": "off", "fixable": true },
|
||||
{ "rule": "*semi", "severity": "off", "fixable": true }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue