forked from JakHuang/form-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
43 lines (43 loc) · 1004 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
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
root: true,
env: {
node: true
},
extends: ['plugin:vue/recommended', 'eslint:recommended', 'airbnb-base'],
rules: {
'linebreak-style': 0,
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-unused-components': 0,
'no-unused-vars': 0,
'import/order': 0,
'import/extensions': 0,
'import/no-unresolved': 0,
'comma-dangle': [2, 'never'],
semi: [2, 'never'],
'no-unused-expressions': 0,
'no-plusplus': 0,
'import/prefer-default-export': 0,
'no-use-before-define': 0,
'no-param-reassign': 0,
'arrow-parens': [2, 'as-needed'],
'vue/max-attributes-per-line': 0,
'max-len': [
1,
{
code: 120
}
],
'no-eval': 0,
'no-multi-assign': 0,
'prefer-rest-params': 0,
'vue/require-prop-types': 0,
'no-restricted-globals': 0
},
parserOptions: {
parser: 'babel-eslint'
},
globals: {
location: false
}
};