mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
c180d1db1e
- Update extension recommendations and move under `.vscode/extensions.json` - Update sample tasks/settings, and move under `.vscode/settings.json.sample` and `.vscode/tasks.json.sample` `.vscode/settings.json` and `.vscode/tasks.json` remain gitignored, so will not be overwritten by this commit
37 lines
835 B
Plaintext
37 lines
835 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": "ruby-syntax-tree.vscode-syntax-tree"
|
|
},
|
|
"[handlebars]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.formatOnSave": true
|
|
},
|
|
|
|
// eslint fix on save
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit"
|
|
},
|
|
|
|
"task.autoDetect": "off",
|
|
"eslint.debug": false,
|
|
}
|