mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 08:23:44 +08:00
38 lines
854 B
Plaintext
38 lines
854 B
Plaintext
{
|
|
// 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,
|
|
"editor.defaultFormatter": "Shopify.ruby-lsp"
|
|
},
|
|
"[handlebars]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
|
|
// eslint fix on save
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit"
|
|
},
|
|
|
|
"task.autoDetect": "off",
|
|
"eslint.debug": false,
|
|
"rubyLsp.formatter": "syntax_tree",
|
|
}
|