export default withNuxt(
antfu({
ignores: ['*.json', '*.yml'],
}, {
files: ['**/*.vue', '**/*.ts', '*.cjs'],
rules: {
'sort-imports': 'off',
'style/quotes': ['warn', 'single', { avoidEscape: true }],
'node/prefer-global/process': 'off',
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'antfu/if-newline': 'off',
'vue/html-self-closing': ['warn', {
html: {
void: 'always',
normal: 'never',
component: 'always',
},
}],
},
})
)
export default withNuxt(
antfu({
ignores: ['*.json', '*.yml'],
}, {
files: ['**/*.vue', '**/*.ts', '*.cjs'],
rules: {
'sort-imports': 'off',
'style/quotes': ['warn', 'single', { avoidEscape: true }],
'node/prefer-global/process': 'off',
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'antfu/if-newline': 'off',
'vue/html-self-closing': ['warn', {
html: {
void: 'always',
normal: 'never',
component: 'always',
},
}],
},
})
)