mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 05:58:12 +08:00
Add code style formatting to the website
This commit is contained in:
Vendored
+8
@@ -13,6 +13,13 @@
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
||||
},
|
||||
"[scss]": {
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true,
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
},
|
||||
// Handlebars: don't save on format
|
||||
// (`about.hbs` is used by Cargo About to encode license information)
|
||||
"[handlebars]": {
|
||||
@@ -26,6 +33,7 @@
|
||||
"eslint.workingDirectories": [
|
||||
"./frontend",
|
||||
"./bezier-rs/docs/interactive-docs",
|
||||
"./website",
|
||||
],
|
||||
"eslint.validate": [
|
||||
"javascript",
|
||||
|
||||
Reference in New Issue
Block a user