annotate client/.eslintrc.js @ 4016:9ab7e1056360

Optimize index setup a bit Optimize column order in multi-column indexes created automatically for constraints in order to match access patterns better. This makes the extra indexes on measure_date obsolete. Add a further index for fast retrieval of newest measurement per location, which is currently needed in some VIEWs for GeoServer.
author Tom Gottfried <tom@intevation.de>
date Fri, 19 Jul 2019 14:30:14 +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 };