annotate client/.eslintrc.js @ 3681:c9e1848a516a

Handle violation of responsibility areas graceful for BN import. As many others this is an error, which should only affect the specific bottleneck failing and not the whole import.
author Sascha Wilde <wilde@intevation.de>
date Tue, 18 Jun 2019 12:43:01 +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 };