-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
48 lines (43 loc) · 970 Bytes
/
.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
module.exports = {
root: true,
env: {
es2022: true,
},
extends: [
'plugin:vue/base',
'plugin:vue/recommended',
'plugin:vuetify/base',
'plugin:vuetify/recommended',
'plugin:vue/recommended',
'@vue/airbnb',
'@vue/typescript',
'@vue/typescript/recommended',
],
plugins: [
'vuetify',
],
rules: {
'no-console': ['error'],
'no-debugger': ['error'],
'vue/max-len': ['off'],
'import/prefer-default-export': ['off'],
camelcase: 'off',
'vuejs-accessibility/no-autofocus': 'off',
'vue/multi-word-component-names': ['error', {
ignores: ['Sidebar'],
}],
'import/extensions': ['error', { ts: 'never', vue: 'always' }],
'@typescript-eslint/consistent-type-imports': 'error',
},
settings: {
'import/resolver': {
node: {
extensions: ['.ts'],
},
alias: {
map: [['@', './src']],
extensions: ['.ts', '.vue'],
},
},
},
};