summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-19 14:23:46 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-19 14:23:46 +0100
commitb70b5e9cf0d7c1ef66e7ef98f2a1f5edd8565891 (patch)
tree91469a74ac582f8366ff0ac7ff09da5eb103e715 /.eslintrc.js
parent1ff1aa8dc35bfb02f01fd5f09499a4c5e9f35db1 (diff)
feat: reset vue projet to start
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 @@
+module.exports = {
+ root: true,
+ env: {
+ node: true
+ },
+ 'extends': [
+ 'plugin:vue/essential',
+ 'eslint:recommended'
+ ],
+ parserOptions: {
+ parser: 'babel-eslint'
+ },
+ rules: {
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
+ }
+}