forked from KUN1007/kun-galgame-nuxt3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.mjs
31 lines (30 loc) · 873 Bytes
/
eslint.config.mjs
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
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt({
root: true,
parserOptions: {
sourceType: 'module'
},
extends: ['@nuxtjs/eslint-config-typescript'],
rules: {
'no-console': 'off',
camelcase: 'off',
'comma-spacing': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'vue/multi-word-component-names': 'off',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-self-closing': 'off',
'vue/attributes-order': 'off',
'vue/no-multiple-template-root': 'off',
'vue/no-v-html': 'off',
'import/order': 'off',
'import/no-named-as-default-member': 'off',
'arrow-parens': ['error', 'always'],
'space-before-function-paren': 'off',
'func-call-spacing': 'off',
quotes: [
'error',
'single',
{ avoidEscape: true, allowTemplateLiterals: true }
]
}
})