-
Notifications
You must be signed in to change notification settings - Fork 19
/
.eslintrc.js
39 lines (39 loc) · 947 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
module.exports = {
root: true,
plugins: ['eslint-plugin-tsdoc'],
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:prettier/recommended',
'prettier',
],
rules: {
'require-await': 'off',
'nuxt/no-cjs-in-config': 'off',
'vue/max-attributes-per-line': 'off',
'vue/experimental-script-setup-vars': 'off',
'vue/no-arrow-functions-in-watch': 'off',
'vue/no-custom-modifiers-on-v-model': 'off',
'vue/no-dupe-v-else-if': 'off',
'vue/no-multiple-template-root': 'off',
'vue/no-mutating-props': 'off',
'vue/no-v-for-template-key': 'off',
'vue/no-v-model-argument': 'off',
'vue/one-component-per-file': 'off',
'vue/html-self-closing': [
'error',
{
html: {
void: 'always',
},
},
],
'prettier/prettier': [
'error',
{
semi: false,
singleQuote: true,
},
],
'tsdoc/syntax': 'error',
},
}