-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.eslintrc.js
60 lines (60 loc) · 1.84 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
55
56
57
58
59
60
module.exports = {
root: true,
env: {
node: true,
browser: true
},
extends: [
'plugin:vue/essential',
'plugin:cypress/recommended',
'@vue/airbnb'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'template-curly-spacing': 'off',
indent: ['error', 2, {
ignoredNodes: ['TemplateLiteral']
}],
'no-restricted-syntax': 'off',
'semi': ['error', 'never'],
'max-len': 'off',
'comma-dangle': ['error', 'never'],
'prefer-template': 'off',
'object-curly-newline': 'off',
'arrow-parens': 'off',
'space-before-function-paren': ['error', 'always'],
'no-plusplus': 'off',
'consistent-return': 'off',
'no-continue': 'off',
'no-param-reassign': 'off',
'import/extensions': 'off',
'no-mixed-operators': 'off',
'no-multi-assign': 'off',
'func-names': 'off',
'guard-for-in': 'off',
'prefer-destructuring': 'off',
'no-underscore-dangle': 'off',
'no-await-in-loop': 'off',
'no-prototype-builtins': 'off',
'quote-props': 'off',
'arrow-body-style': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'dot-notation': 'off',
'vue/html-button-has-type': 'off',
'vue/no-mutating-props': 'off',
'vue/multi-word-component-names': 'off',
'vue/max-len': 'off',
'vuejs-accessibility/accessible-emoji': 'off',
'vuejs-accessibility/alt-text': 'off',
'vuejs-accessibility/anchor-has-content': 'off',
'vuejs-accessibility/click-events-have-key-events': 'off',
'vuejs-accessibility/form-control-has-label': 'off',
'vuejs-accessibility/label-has-for': 'off',
'vuejs-accessibility/interactive-supports-focus': 'off'
},
parserOptions: {
parser: '@babel/eslint-parser'
}
}