forked from riophae/vue-treeselect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
35 lines (35 loc) · 738 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
module.exports = {
root: true,
extends: [ 'riophae/vue' ],
plugins: [ 'react' ],
globals: {
PKG_VERSION: true,
},
settings: {
'import/resolver': {
node: null,
webpack: {
config: 'build/webpack-configs/base.js',
},
},
},
rules: {
'import/no-named-as-default': 0,
'unicorn/consistent-function-scoping': 0,
'vue/attributes-order': 0,
'vue/no-v-html': 0,
'no-confusing-arrow': 0,
'no-console': 0,
'no-warning-comments': 0,
'no-undefined': 0,
'prefer-destructuring': 0,
},
overrides: [ {
files: [ 'src/**' ],
rules: {
'unicorn/no-for-loop': 0,
'unicorn/prefer-includes': 0,
'unicorn/prefer-node-append': 0,
},
} ],
}