eslint config

pull/396/head
starknt 2024-11-18 11:22:02 +08:00
parent 352fb91883
commit 47608ffef9
2 changed files with 9 additions and 2 deletions

View File

@ -11,5 +11,10 @@ export default antfu({
isInEditor: true,
ignore: [
'**/test/**',
]
],
formatters: {
css: true,
html: true,
markdown: 'prettier',
}
})

View File

@ -1,12 +1,14 @@
{
"name": "dev-sidecar-parent",
"type": "module",
"packageManager": "pnpm@9.13.2",
"private": false,
"author": "Greper",
"license": "MPL-2.0",
"devDependencies": {
"eslint": "^9.15.0",
"@antfu/eslint-config": "^3.9.1"
"@antfu/eslint-config": "^3.9.1",
"eslint-plugin-format": "^0.1.2"
},
"scripts": {
"lint": "eslint .",