Skip to content

Commit

Permalink
chore: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
janfrl committed Sep 5, 2024
1 parent 6cfe687 commit b1016be
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
// @ts-check
import antfu from '@antfu/eslint-config'
import withNuxt from './.nuxt/eslint.config.mjs'
import nuxt from './.nuxt/eslint.config.mjs'

export default withNuxt(
antfu({
vue: true,
}),
export default antfu(
{},
{
name: 'tailwind/yaml/rules',
files: ['**/*.yaml', '**/*.yml'],
rules: {
'yaml/plain-scalar': ['off'],
},
},
{
name: 'nuxt-studio/md/rules',
files: ['**/*.md'],
rules: {
'no-irregular-whitespace': ['off'],
},
},
nuxt,
)

0 comments on commit b1016be

Please sign in to comment.