mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-14 00:48:06 +00:00
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"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 }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|