diff options
author | pacien | 2022-09-04 18:18:27 +0200 |
---|---|---|
committer | pacien | 2022-09-04 18:18:27 +0200 |
commit | 11bbbae2850b9c45da697a8ed9626495a50a38c0 (patch) | |
tree | ff2713118f8b45d36905bfea2933f08d8e70066d /viewer | |
parent | e93f7b1eb84c083d67567115284c0002a3a7d5fc (diff) | |
parent | 8349be992b46b77dee921f484cfbff8b758ff756 (diff) | |
download | ldgallery-2.1.tar.gz |
Merge branch 'develop': release v2.1v2.1
GitHub: related to #315
Diffstat (limited to 'viewer')
109 files changed, 10390 insertions, 17250 deletions
diff --git a/viewer/.browserslistrc b/viewer/.browserslistrc index d6471a3..d9789a7 100644 --- a/viewer/.browserslistrc +++ b/viewer/.browserslistrc | |||
@@ -1,2 +1,5 @@ | |||
1 | > 1% | 1 | # Polyfills for ES2020+ |
2 | last 2 versions | 2 | |
3 | chrome > 78 | ||
4 | firefox > 72 | ||
5 | edge > 78 | ||
diff --git a/viewer/.env b/viewer/.env index 99efa3d..b552629 100644 --- a/viewer/.env +++ b/viewer/.env | |||
@@ -1,6 +1,6 @@ | |||
1 | # Override with .env.development.local and .env.production.local | 1 | # Override with .env.development.local and .env.production.local |
2 | 2 | ||
3 | VUE_APP_I18N_LOCALE=en | ||
4 | VUE_APP_I18N_FALLBACK_LOCALE=en | ||
5 | VUE_APP_DATA_URL=./ | 3 | VUE_APP_DATA_URL=./ |
6 | VUE_APP_FULLWIDTH_LIMIT=1216 | 4 | VUE_APP_FULLWIDTH_LIMIT=1216 |
5 | VUE_APP_I18N_LOCALE=en | ||
6 | VUE_APP_I18N_FALLBACK_LOCALE=en | ||
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index 9d3fbbc..0308e3f 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js | |||
@@ -1,39 +1,22 @@ | |||
1 | module.exports = { | 1 | module.exports = { |
2 | root: true, | 2 | root: true, |
3 | |||
4 | env: { | 3 | env: { |
5 | node: true, | 4 | node: true, |
6 | }, | 5 | }, |
7 | 6 | extends: [ | |
8 | plugins: ["prettier"], | 7 | 'plugin:vue/vue3-recommended', |
9 | 8 | '@vue/standard', | |
10 | extends: ["plugin:vue/essential", "plugin:prettier/recommended", "@vue/typescript"], | 9 | '@vue/typescript/recommended', |
11 | 10 | ], | |
12 | rules: { | ||
13 | "no-console": "off", | ||
14 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | ||
15 | "prettier/prettier": "warn", | ||
16 | "eol-last": ["warn", "always"], | ||
17 | "object-curly-spacing": ["warn", "always"], | ||
18 | "quote-props": ["warn", "as-needed"], | ||
19 | indent: ["warn", 2, { SwitchCase: 1 }], | ||
20 | quotes: ["warn", "double"], | ||
21 | "vue/attribute-hyphenation": "warn", | ||
22 | "vue/html-closing-bracket-spacing": "warn", | ||
23 | "vue/html-end-tags": "error", | ||
24 | "vue/html-quotes": "warn", | ||
25 | "vue/html-self-closing": "off", | ||
26 | "vue/no-multi-spaces": "warn", | ||
27 | "vue/no-spaces-around-equal-signs-in-attribute": "warn", | ||
28 | "vue/no-template-shadow": "error", | ||
29 | "vue/v-bind-style": "warn", | ||
30 | "vue/v-on-style": "warn", | ||
31 | "vue/attributes-order": "warn", | ||
32 | "vue/this-in-template": "warn", | ||
33 | }, | ||
34 | |||
35 | parserOptions: { | 11 | parserOptions: { |
36 | sourceType: "module", | 12 | ecmaVersion: 2020, |
37 | parser: "@typescript-eslint/parser", | 13 | }, |
14 | rules: { | ||
15 | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
16 | 'no |