forked from laravel-enso/enso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
30 lines (30 loc) · 817 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
"root": true,
extends: [
'@vue/airbnb',
"plugin:vue/recommended"
],
plugins: [
'vue',
],
globals: {
axios: true,
route: true,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
indent: ["error", 4],
"vue/html-indent": 0,
'vue/attributes-order': 0,
"no-plusplus": 0,
"no-debugger": 0,
"no-underscore-dangle": ["error", { "allow": ["__"] } ],
"no-param-reassign": 0,
"no-mixed-operators": 0,
"func-names": 0,
"no-shadow": 0,
"vue/max-attributes-per-line": 0,
"no-return-assign": ["error", "except-parens"]
},
};