This repository has been archived by the owner on Nov 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
63 lines (63 loc) · 1.62 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
61
62
63
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/recommended',
'plugin:vue/vue3-essential',
'plugin:vue/vue3-strongly-recommended',
'eslint:recommended',
'airbnb-base',
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'vue/no-v-for-template-key': 'off',
'vue/no-v-model-argument': 'off',
'vue/max-attributes-per-line': [
'error',
{
singleline: 1,
multiline: {
max: 1,
allowFirstLine: false,
},
},
],
'vue/no-unused-components': 'warn',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-self-closing': 'off',
'vue/valid-template-root': 'off',
'vue/no-multiple-template-root': 'off',
'linebreak-style': [0, 'error', 'windows'],
'import/no-extraneous-dependencies': ['error', {
devDependencies: true,
}],
'global-require': 'off',
'func-names': ['error', 'as-needed'],
'no-underscore-dangle': 'off',
'import/prefer-default-export': 'off',
'no-useless-escape': 'off',
'import/no-unresolved': 'off',
'no-restricted-syntax': 'off',
'no-unused-vars': 'warn',
'consistent-return': 'off',
'no-param-reassign': 'off',
'no-console': 'off',
'no-shadow': 'off',
'prefer-destructuring': 'off',
'max-len': 'off',
'import/no-absolute-path': 'off',
'default-case': 'off',
'no-plusplus': 'off',
'no-use-before-define': 'off',
'array-callback-return': 'off',
'brace-style': 'off',
'no-tabs': 'off',
'guard-for-in': 'off',
'eqeqeq': 'off',
'no-unused-expressions': 'off',
},
}