Update module tooling

This commit is contained in:
Jarek Rozanski 2025-01-02 22:46:27 +01:00
parent f52bec681c
commit 787a1fd57f
4 changed files with 802 additions and 696 deletions

20
eslint.config.mjs Normal file
View file

@ -0,0 +1,20 @@
// @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...
)