diff options
author | Notkea | 2020-01-10 22:31:47 +0100 |
---|---|---|
committer | GitHub | 2020-01-10 22:31:47 +0100 |
commit | 7042ffc06326fa8ffe70f5a59747709250166c16 (patch) | |
tree | dbfc7567bd106e03a47b499d2a07cecb6b8d6305 /viewer/.eslintrc.js | |
parent | c9264b0a0a7e1cb92ef7d9a391cee2c94376cff3 (diff) | |
parent | 27b51018525dbb7a6edb3073819d82245387ddd3 (diff) | |
download | ldgallery-7042ffc06326fa8ffe70f5a59747709250166c16.tar.gz |
Merge pull request #34 from pacien/develop
first working prototype
Diffstat (limited to 'viewer/.eslintrc.js')
-rw-r--r-- | viewer/.eslintrc.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js new file mode 100644 index 0000000..996c4f3 --- /dev/null +++ b/viewer/.eslintrc.js | |||
@@ -0,0 +1,34 @@ | |||
1 | module.exports = { | ||
2 | root: true, | ||
3 | |||
4 | env: { | ||
5 | node: true, | ||
6 | }, | ||
7 | |||
8 | 'extends': [ | ||
9 | 'plugin:vue/essential', | ||
10 | '@vue/typescript' | ||
11 | ], | ||
12 | |||
13 | rules: { | ||
14 | "no-console": "off", | ||
15 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | ||
16 | 'vue/attribute-hyphenation': 'warn', | ||
17 | 'vue/html-closing-bracket-spacing': 'warn', | ||
18 | 'vue/html-end-tags': 'error', | ||
19 | 'vue/html-quotes': 'warn', | ||
20 | 'vue/html-self-closing': 'off', | ||
21 | 'vue/no-multi-spaces': 'warn', | ||
22 | 'vue/no-spaces-around-equal-signs-in-attribute': 'warn', | ||
23 | 'vue/no-template-shadow': 'error', | ||
24 | 'vue/v-bind-style': 'warn', | ||
25 | 'vue/v-on-style': 'warn', | ||
26 | 'vue/attributes-order': 'warn', | ||
27 | 'vue/this-in-template': 'warn' | ||
28 | }, | ||
29 | |||
30 | parserOptions: { | ||
31 | parser: '@typescript-eslint/parser', | ||
32 | }, | ||
33 | |||
34 | }; | ||