annotate client/.eslintrc.js @ 5095:e21cbb9768a2

Prevent duplicate fairway areas In principal, there can be only one or no fairway area at each point on the map. Since polygons from real data will often be topologically inexact, just disallow equal geometries. This will also help to avoid importing duplicates with concurrent imports, once the history of fairway dimensions will be preserved.
author Tom Gottfried <tom@intevation.de>
date Wed, 25 Mar 2020 18:10: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 };