Skip to content

Commit

Permalink
chore: update ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Nov 18, 2024
1 parent b26cd8f commit 88b83f5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
25 changes: 11 additions & 14 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu(
{
stylistic: false,
unocss: true,
export default antfu({
stylistic: false,
unocss: true,
}).append({
rules: {
// Ignore rules clashing with Prettier
'vue/html-closing-bracket-newline': 'off',
'vue/html-indent': 'off',
'vue/html-self-closing': 'off',
'vue/singleline-html-element-content-newline': 'off',
},
{
rules: {
// Ignore rules clashing with Prettier
'vue/html-closing-bracket-newline': 'off',
'vue/html-indent': 'off',
'vue/html-self-closing': 'off',
'vue/singleline-html-element-content-newline': 'off',
},
},
)
})
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const shouldPrerender = process.env.NITRO_PRERENDER_PAGES === 'true'
if (shouldPrerender) consola.info('Prerendering enabled')

export default defineNuxtConfig({
compatibilityDate: '2024-04-03',

// If you project doesn't require i18n, use the `without-i18n` branch instead:
// https://github.com/johannschopplich/cacao-kit-frontend/tree/chore/without-i18n
modules: ['@nuxtjs/i18n', '@unocss/nuxt', '@vueuse/nuxt', 'nuxt-kql'],

compatibilityDate: '2024-04-03',

devtools: {
enabled: true,
},
Expand Down

0 comments on commit 88b83f5

Please sign in to comment.