-
Notifications
You must be signed in to change notification settings - Fork 5
/
eslint.config.mjs
36 lines (35 loc) · 972 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
32
33
34
35
36
// @ts-check
import antfu from '@antfu/eslint-config'
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt(
antfu(
{
stylistic: true,
files: [
'**/*.vue',
'**/*.ts',
],
rules: {
'@typescript-eslint/brace-style': 'off',
'curly': 'off',
'dot-notation': 'off',
'eslintvue/singleline-html-element-content-newline': 'off',
'n/prefer-global/process': 'off',
'no-alert': 'off',
'no-console': 'off',
'no-extra-parens': 'off',
'node/prefer-global/process': 'off',
'operator-linebreak': 'off',
'unocss/order-attributify': 'off',
'vue/component-tags-order': 'off',
'vue/multiline-html-element-content-newline': 'off',
'vue/no-mutating-props': 'off',
'vue/prefer-template': 'off',
'vue/singleline-html-element-content-newline': 'off',
},
},
),
{
// ...other rules
},
)