Frontend: Reformat .js, .mjs, and .vue files

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2026-03-06 13:48:22 +01:00
parent 5c2290680d
commit 567d30cfba
4 changed files with 6 additions and 35 deletions

View file

@ -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: [],
},
],

View file

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

View file

@ -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 {

View file

@ -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/)
],
},
},