diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-17 11:38:40 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-17 11:38:40 +0300 |
commit | 0ff788a14db963b6dcd49f1c2b362d472f28247a (patch) | |
tree | 3190b4d5e5b6a56fdf8436f6ab4b9aef492b7516 /.eslintrc.js | |
parent | 1ecf67c6af75e9a82e33a105bb1d785903bde566 (diff) |
Add Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..1c6179f37 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,17 @@ +module.exports = { + root: true, + env: { + node: true + }, + 'extends': [ + 'plugin:vue/essential', + 'eslint:recommended' + ], + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + }, + parserOptions: { + parser: 'babel-eslint' + } +} |