diff options
author | pacien | 2020-09-25 16:01:49 +0200 |
---|---|---|
committer | pacien | 2020-09-25 16:01:49 +0200 |
commit | e93f7b1eb84c083d67567115284c0002a3a7d5fc (patch) | |
tree | 8d373e8f7f571485e1330928f43b090ed004c525 /viewer/.eslintrc.js | |
parent | 8e3ac8fe44bebb38e1882ca7f06b8100078ad88d (diff) | |
parent | fd542f75a1d94ee5f804d0925823276b97f38581 (diff) | |
download | ldgallery-e93f7b1eb84c083d67567115284c0002a3a7d5fc.tar.gz |
Merge branch 'develop' for release v2.0v2.0
Diffstat (limited to 'viewer/.eslintrc.js')
-rw-r--r-- | viewer/.eslintrc.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js index a67de5e..9d3fbbc 100644 --- a/viewer/.eslintrc.js +++ b/viewer/.eslintrc.js | |||
@@ -5,14 +5,14 @@ module.exports = { | |||
5 | node: true, | 5 | node: true, |
6 | }, | 6 | }, |
7 | 7 | ||
8 | extends: [ | 8 | plugins: ["prettier"], |
9 | "plugin:vue/essential", | 9 | |
10 | "@vue/typescript" | 10 | extends: ["plugin:vue/essential", "plugin:prettier/recommended", "@vue/typescript"], |
11 | ], | ||
12 | 11 | ||
13 | rules: { | 12 | rules: { |
14 | "no-console": "off", | 13 | "no-console": "off", |
15 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | 14 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", |
15 | "prettier/prettier": "warn", | ||
16 | "eol-last": ["warn", "always"], | 16 | "eol-last": ["warn", "always"], |
17 | "object-curly-spacing": ["warn", "always"], | 17 | "object-curly-spacing": ["warn", "always"], |
18 | "quote-props": ["warn", "as-needed"], | 18 | "quote-props": ["warn", "as-needed"], |
@@ -36,5 +36,4 @@ module.exports = { | |||
36 | sourceType: "module", | 36 | sourceType: "module", |
37 | parser: "@typescript-eslint/parser", | 37 | parser: "@typescript-eslint/parser", |
38 | }, | 38 | }, |
39 | |||
40 | }; | 39 | }; |