aboutsummaryrefslogtreecommitdiff
path: root/viewer/.eslintrc.js
diff options
context:
space:
mode:
authorZero~Informatique2019-12-20 17:47:04 +0100
committerZero~Informatique2019-12-20 23:22:56 +0100
commit7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f (patch)
treecb5e30534d9e564c311d626bba7e8d9ec0ea0f60 /viewer/.eslintrc.js
parentc9264b0a0a7e1cb92ef7d9a391cee2c94376cff3 (diff)
downloadldgallery-7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f.tar.gz
Viewer project foundations
Diffstat (limited to 'viewer/.eslintrc.js')
-rw-r--r--viewer/.eslintrc.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/viewer/.eslintrc.js b/viewer/.eslintrc.js
new file mode 100644
index 0000000..be91544
--- /dev/null
+++ b/viewer/.eslintrc.js
@@ -0,0 +1,14 @@
1module.exports = {
2 root: true,
3 env: {
4 node: true,
5 },
6 extends: ["plugin:vue/essential", "@vue/typescript"],
7 rules: {
8 "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
9 "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
10 },
11 parserOptions: {
12 parser: "@typescript-eslint/parser",
13 },
14};