Skip to content

Commit 88b83f5

Browse files
chore: update ESLint config
1 parent b26cd8f commit 88b83f5

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

eslint.config.mjs

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
// @ts-check
22
import antfu from '@antfu/eslint-config'
33

4-
export default antfu(
5-
{
6-
stylistic: false,
7-
unocss: true,
4+
export default antfu({
5+
stylistic: false,
6+
unocss: true,
7+
}).append({
8+
rules: {
9+
// Ignore rules clashing with Prettier
10+
'vue/html-closing-bracket-newline': 'off',
11+
'vue/html-indent': 'off',
12+
'vue/html-self-closing': 'off',
13+
'vue/singleline-html-element-content-newline': 'off',
814
},
9-
{
10-
rules: {
11-
// Ignore rules clashing with Prettier
12-
'vue/html-closing-bracket-newline': 'off',
13-
'vue/html-indent': 'off',
14-
'vue/html-self-closing': 'off',
15-
'vue/singleline-html-element-content-newline': 'off',
16-
},
17-
},
18-
)
15+
})

nuxt.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ const shouldPrerender = process.env.NITRO_PRERENDER_PAGES === 'true'
66
if (shouldPrerender) consola.info('Prerendering enabled')
77

88
export default defineNuxtConfig({
9-
compatibilityDate: '2024-04-03',
10-
119
// If you project doesn't require i18n, use the `without-i18n` branch instead:
1210
// https://github.com/johannschopplich/cacao-kit-frontend/tree/chore/without-i18n
1311
modules: ['@nuxtjs/i18n', '@unocss/nuxt', '@vueuse/nuxt', 'nuxt-kql'],
1412

13+
compatibilityDate: '2024-04-03',
14+
1515
devtools: {
1616
enabled: true,
1717
},

0 commit comments

Comments
 (0)