This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
58 lines (54 loc) · 1.76 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
module.exports = {
root: true,
env: {
node: true
},
rules: {
'arrow-body-style': ['error', 'always'],
'brace-style': ['error', 'allman'],
camelcase: 'off',
'class-methods-use-this': 'off',
'comma-dangle': 'off',
'consistent-return': 'off',
'default-case': 'off',
indent: 'off',
'indent-legacy': 'off',
'import/no-extraneous-dependencies': ['error', {'devDependencies': true, 'optionalDependencies': false, 'peerDependencies': false}],
'import/prefer-default-export': 'off',
'linebreak-style': ['error', 'windows'],
'newline-per-chained-call': 'off',
'import/no-cycle': 'off',
'lines-between-class-members': 'off',
'max-len': 'off',
'new-cap': 'off',
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-floating-decimal': 'off',
'no-multi-spaces': 'off',
'no-new': 'off',
'no-param-reassign': ['error', {props: false}],
'no-use-before-define': 'off',
'no-restricted-globals': 'off',
'no-template-curly-in-string': 'off',
'no-trailing-spaces': 'off',
'no-underscore-dangle': 'off',
'object-curly-newline': 'off',
'object-curly-spacing': ['error', 'never'],
'object-shorthand': ['error', 'always'],
'prefer-promise-reject-errors': 'off',
'quote-props': 'off',
quotes: 'off',
radix: 'off',
'vue/script-indent': ['off', 4, {
baseIndent: 1
}]
},
parserOptions: {
parser: '@typescript-eslint/parser'
},
'extends': [
'plugin:vue/essential',
'@vue/airbnb',
'@vue/typescript'
]
};