-
Notifications
You must be signed in to change notification settings - Fork 248
/
.eslintrc.cjs
38 lines (38 loc) · 935 Bytes
/
.eslintrc.cjs
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
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
plugins: ['prettier'],
parserOptions: {
ecmaVersion: 2020
},
rules: {
'no-console': process.env === 'production' ? 'warn' : 'off',
'no-debugger': process.env === 'production' ? 'warn' : 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/camelcase': 'off',
'no-irregular-whitespace': 'off',
'vue/no-reserved-component-names': 'off',
'@typescript-eslint/no-var-requires': 0,
camelcase: 'off',
'prettier/prettier': [
'warn',
{
semi: false,
singleQuote: true,
printWidth: 80,
tabWidth: 2,
useTabs: false,
endOfLine: 'auto',
trailingComma: 'none',
arrowParens: 'avoid'
}
]
}
}