Mercurial > gemma
annotate client/.eslintrc.js @ 4725:872787312b6b
Translated using Weblate (German (Austria))
Currently translated at 67.6% (319 of 472 strings)
Translation: Gemma/client
Translate-URL: https://hosted.weblate.org/projects/gemma/client/de_AT/
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 17 Oct 2019 14:13:39 +0200 |
parents | 3907a7b98067 |
children |
rev | line source |
---|---|
3 | 1 module.exports = { |
2 root: true, | |
3 env: { | |
4 node: true | |
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 | 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 | 10 }, |
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 | 13 } |
990
3907a7b98067
linted/fixed code format (yarn run lint)
Markus Kottlaender <markus@intevation.de>
parents:
13
diff
changeset
|
14 }; |