forked from aleksey-hoffman/sigma-file-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
54 lines (54 loc) · 1.39 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'@vue/standard'
],
parserOptions: {
parser: 'babel-eslint'
},
plugins: [
'only-warn'
],
rules: {
'no-console': 'off',
'no-debugger': 'off',
'brace-style': [2, 'stroustrup', {allowSingleLine: true}],
'vue/valid-v-on': 'warn',
'vue/no-side-effects-in-computed-properties': 'warn',
'vue/no-unused-components': 'warn',
'vue/valid-v-for': 'warn',
'no-use-before-define': 'warn',
'new-cap': 'warn',
'no-undef': 'warn',
'no-tabs': 'off',
'import/first': 'off',
'no-unused-vars': 'off',
'eol-last': 'off',
'quote-props': 'off',
'standard/no-callback-literal': 'off',
'no-template-curly-in-string': 'off',
'prefer-promise-reject-errors': 'off',
'no-return-await': 'off',
'prefer-const': 'off',
'no-multiple-empty-lines': 'warn',
'no-trailing-spaces': 'warn',
'handle-callback-err': 'warn',
'import/no-webpack-loader-syntax': 'warn',
'no-mixed-operators': 'warn',
'no-useless-catch': 'warn',
'no-useless-escape': 'warn',
'no-return-assign': 'warn',
'operator-linebreak': 'warn',
'camelcase': 'warn',
'no-global-assign': 'warn',
'comma-dangle': 'warn',
'padded-blocks': 'warn',
'space-before-function-paren': 'warn',
'indent': 'warn',
'no-unreachable': 'warn'
}
}