-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
33 lines (33 loc) · 920 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
module.exports = {
extends: ['plugin:@typescript-eslint/recommended', 'plugin:vue/vue3-recommended', 'plugin:prettier/recommended'],
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
allowImportExportEverywhere: true,
ecmaFeatures: {
jsx: true,
},
},
rules: {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
'vue/html-self-closing': 'off',
'vue/max-attributes-per-line': [
'off',
{
singleline: {
max: 2,
},
multiline: {
max: 1,
},
},
],
'vue/singleline-html-element-content-newline': 'off',
'vue/multi-word-component-names': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': 'off',
},
};