13 lines
295 B
TypeScript
13 lines
295 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
export default defineNuxtConfig({
|
|
extends: ['..'],
|
|
modules: ['@nuxt/eslint'],
|
|
eslint: {
|
|
config: {
|
|
// Use the generated ESLint config for lint root project as well
|
|
rootDir: fileURLToPath(new URL('..', import.meta.url))
|
|
}
|
|
}
|
|
})
|