annotate client/.eslintrc.js @ 3810:68dc59b428df yworks-svg2pdf

dogfooding our productionbuild of jspdf and svg2pdf
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 05 Jul 2019 10:31:53 +0200
parents 3907a7b98067
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 module.exports = {
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
2 root: true,
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
3 env: {
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
4 node: true
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
5 },
990
3907a7b98067 linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents: 13
diff changeset
6 extends: ["plugin:vue/essential", "@vue/prettier"],
3
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
7 rules: {
990
3907a7b98067 linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents: 13
diff changeset
8 "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
3907a7b98067 linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents: 13
diff changeset
9 "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
3
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
10 },
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
11 parserOptions: {
990
3907a7b98067 linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents: 13
diff changeset
12 parser: "babel-eslint"
3
1597506a2241 merge with vue-cli
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
13 }
990
3907a7b98067 linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents: 13
diff changeset
14 };