Add code style formatting to the website

This commit is contained in:
Keavon Chambers 2022-06-16 22:57:15 -07:00
parent 9f76315bdc
commit ea0dbd1290
10 changed files with 4477 additions and 39 deletions

View file

@ -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",