mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Frontend: Reformat .js, .mjs, and .vue files
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
5c2290680d
commit
567d30cfba
4 changed files with 6 additions and 35 deletions
|
|
@ -35,11 +35,7 @@ export default defineConfig([
|
|||
]),
|
||||
...pluginVue.configs["flat/recommended"],
|
||||
{
|
||||
extends: compat.extends(
|
||||
"eslint:recommended",
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:vuetify/base"
|
||||
),
|
||||
extends: compat.extends("eslint:recommended", "plugin:prettier/recommended", "plugin:vuetify/base"),
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
|
|
@ -101,20 +97,7 @@ export default defineConfig([
|
|||
{
|
||||
ignoreWhenNoAttributes: true,
|
||||
ignoreWhenEmpty: true,
|
||||
ignores: [
|
||||
"pre",
|
||||
"textarea",
|
||||
"span",
|
||||
"translate",
|
||||
"a",
|
||||
"v-icon",
|
||||
"v-text-field",
|
||||
"v-input",
|
||||
"v-select",
|
||||
"v-switch",
|
||||
"v-checkbox",
|
||||
"v-img",
|
||||
],
|
||||
ignores: ["pre", "textarea", "span", "translate", "a", "v-icon", "v-text-field", "v-input", "v-select", "v-switch", "v-checkbox", "v-img"],
|
||||
externalIgnores: [],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -52,13 +52,7 @@ module.exports = (config) => {
|
|||
customLaunchers: {
|
||||
LocalChrome: {
|
||||
base: "ChromeHeadless",
|
||||
flags: [
|
||||
"--disable-translate",
|
||||
"--disable-extensions",
|
||||
"--no-sandbox",
|
||||
"--disable-web-security",
|
||||
"--disable-dev-shm-usage",
|
||||
],
|
||||
flags: ["--disable-translate", "--disable-extensions", "--no-sandbox", "--disable-web-security", "--disable-dev-shm-usage"],
|
||||
},
|
||||
},
|
||||
|
||||
|
|
@ -136,11 +130,7 @@ module.exports = (config) => {
|
|||
fallback: {
|
||||
util: require.resolve("util"),
|
||||
},
|
||||
modules: [
|
||||
path.join(__dirname, "src"),
|
||||
path.join(__dirname, "node_modules"),
|
||||
path.join(__dirname, "tests/unit"),
|
||||
],
|
||||
modules: [path.join(__dirname, "src"), path.join(__dirname, "node_modules"), path.join(__dirname, "tests/unit")],
|
||||
preferRelative: true,
|
||||
alias: {
|
||||
vue$: "vue/dist/vue.runtime.esm-bundler.js",
|
||||
|
|
|
|||
|
|
@ -88,9 +88,7 @@ example.com {
|
|||
<v-expansion-panel-text class="bg-secondary-light">
|
||||
<v-card color="secondary-light">
|
||||
<v-card-text>
|
||||
<p>
|
||||
WebSocket proxying works out of the box in Caddy 2. There is no need to enable anything in your config, unlike other reverse proxies.
|
||||
</p>
|
||||
<p>WebSocket proxying works out of the box in Caddy 2. There is no need to enable anything in your config, unlike other reverse proxies.</p>
|
||||
<p>Example configuration:</p>
|
||||
<pre>
|
||||
example.com {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export default defineConfig({
|
|||
server: {
|
||||
fs: {
|
||||
allow: [
|
||||
path.resolve(__dirname, ".."), // Allow access to parent directory (includes pro/)
|
||||
path.resolve(__dirname, ".."), // Allow access to parent directory (includes pro/)
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue