annotate client/.eslintrc.js @ 2455:54c9fe587fe6

Subdivide SQL function to prepare for improved error handling The context of an error (e.g. the function in which it occured) can be inferred by the database client. Not doing all in one statement will render the context more meaningful.
author Tom Gottfried <tom@intevation.de>
date Fri, 01 Mar 2019 18:38:02 +0100
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 };