summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..8ad90db
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,17 @@
1module.exports = {
2 root: true,
3 env: {
4 node: true
5 },
6 'extends': [
7 'plugin:vue/essential',
8 'eslint:recommended'
9 ],
10 parserOptions: {
11 parser: 'babel-eslint'
12 },
13 rules: {
14 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
16 }
17}