diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..db4c6d9b --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +dist +node_modules \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 00000000..7cf63d9d --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,11 @@ +{ + "singleQuote": false, + "trailingComma": "all", + "semi": true, + "tabWidth": 4, + "embeddedLanguageFormatting": "auto", + "endOfLine": "lf", + "printWidth": 120, + "vueIndentScriptAndStyle": false, + "quoteProps": "as-needed" +} diff --git a/src/App.vue b/src/App.vue index 0fca9e1d..16f66d5f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,15 +8,11 @@
- +   - + 13MoHioctZkC7LDSZSb4m32TDT8xNmei1p
diff --git a/src/Constants.js b/src/Constants.js index 838b169e..806ea65d 100644 --- a/src/Constants.js +++ b/src/Constants.js @@ -1,4 +1,4 @@ export default { - BASE_URL: localStorage.getItem("instance") || 'https://pipedapi.kavin.rocks', - AUTO_PLAY: localStorage.getItem("autoplay") || false -} + BASE_URL: localStorage.getItem("instance") || "https://pipedapi.kavin.rocks", + AUTO_PLAY: localStorage.getItem("autoplay") || false, +}; diff --git a/src/components/Channel.vue b/src/components/Channel.vue index c7762ccb..b54b2d1f 100644 --- a/src/components/Channel.vue +++ b/src/components/Channel.vue @@ -1,14 +1,7 @@