From 12dc1919359d51ac58afb97140977b039cfee58a Mon Sep 17 00:00:00 2001 From: Hayden Date: Wed, 20 Jan 2021 19:06:22 -0900 Subject: [PATCH] javascript toolings --- frontend/jsconfig.json | 3 ++ frontend/package.json | 10 ++++-- frontend/src/App.vue | 36 +++++++++---------- .../components/MealPlan/MealPlanEditor.vue | 8 +++-- .../src/components/MealPlan/MealPlanNew.vue | 8 +++-- frontend/vetur.config.js | 36 +++++++++++++++++++ 6 files changed, 76 insertions(+), 25 deletions(-) create mode 100644 frontend/jsconfig.json create mode 100644 frontend/vetur.config.js diff --git a/frontend/jsconfig.json b/frontend/jsconfig.json new file mode 100644 index 000000000..b2c0e02ee --- /dev/null +++ b/frontend/jsconfig.json @@ -0,0 +1,3 @@ +{ + "include": ["./src/**/*"] +} diff --git a/frontend/package.json b/frontend/package.json index 19ed57974..4deceb724 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -54,5 +54,11 @@ "> 1%", "last 2 versions", "not dead" - ] -} + ], + "prettier": { + "trailingComma": "es5", + "tabWidth": 2, + "semi": true, + "singleQuote": false + } +} \ No newline at end of file diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 132fe276b..98c56b8ca 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -34,11 +34,11 @@