21 lines
428 B
JavaScript
21 lines
428 B
JavaScript
|
// @ts-check
|
||
|
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'
|
||
|
|
||
|
// Run `npx @eslint/config-inspector` to inspect the resolved config interactively
|
||
|
export default createConfigForNuxt({
|
||
|
features: {
|
||
|
// Rules for module authors
|
||
|
tooling: true,
|
||
|
// Rules for formatting
|
||
|
stylistic: true,
|
||
|
},
|
||
|
dirs: {
|
||
|
src: [
|
||
|
'./playground',
|
||
|
],
|
||
|
},
|
||
|
})
|
||
|
.append(
|
||
|
// your custom flat config here...
|
||
|
)
|