Skip to content

Commit 0bb1c00

Browse files
committed
added eslint for docs
1 parent d836bdd commit 0bb1c00

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/nuxt.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
33
devtools: { enabled: true },
4-
modules: ['@nuxt/content', "@nuxt/image"],
4+
modules: ['@nuxt/content', '@nuxt/image'],
55

66
routeRules: {
77
'/': { prerender: true }
88
},
99

1010
compatibilityDate: '2024-07-27'
11-
})
11+
})

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ export default createConfigForNuxt({
77
stylistic: true,
88
},
99
dirs: {
10-
src: ['./playground'],
10+
src: ['./playground', './docs'],
1111
},
1212
}).append({
1313
rules: {
1414
'@stylistic/comma-dangle': 'off',
1515
'@stylistic/indent': 'off',
1616
'vue/no-multiple-template-root': 'off',
17+
'eslintvue/multi-word-component-names': 'off',
1718
},
1819
})

0 commit comments

Comments
 (0)