Update module tooling
This commit is contained in:
parent
f52bec681c
commit
787a1fd57f
4 changed files with 802 additions and 696 deletions
20
eslint.config.mjs
Normal file
20
eslint.config.mjs
Normal 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...
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue