2024-09-03 02:05:45 +08:00
|
|
|
{
|
|
|
|
// Enable gjs support for eslint
|
|
|
|
"eslint.validate": [
|
|
|
|
"glimmer-js",
|
|
|
|
],
|
|
|
|
|
|
|
|
// Formatter configuration:
|
|
|
|
"[scss]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[javascript]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
|
|
"editor.formatOnSave": true
|
|
|
|
},
|
|
|
|
"[glimmer-js]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[ruby]": {
|
|
|
|
"editor.formatOnSave": true,
|
2024-11-15 21:28:15 +08:00
|
|
|
"editor.defaultFormatter": "Shopify.ruby-lsp"
|
2024-09-03 02:05:45 +08:00
|
|
|
},
|
|
|
|
"[handlebars]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
|
|
"editor.formatOnSave": true
|
|
|
|
},
|
|
|
|
|
|
|
|
// eslint fix on save
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.fixAll": "explicit"
|
|
|
|
},
|
|
|
|
|
|
|
|
"task.autoDetect": "off",
|
|
|
|
"eslint.debug": false,
|
2024-11-15 21:28:15 +08:00
|
|
|
"rubyLsp.formatter": "syntax_tree",
|
2024-09-03 02:05:45 +08:00
|
|
|
}
|