1
Fork 0

Add separate XO calls for Astro and MDX.

This commit is contained in:
Bauke 2022-12-02 14:19:10 +01:00
parent bd9b879795
commit d09f1c93f1
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
"license": "Unlicense",
"private": true,
"scripts": {
"lint": "xo && stylelint '**/*.scss'"
"lint": "xo --extension astro ; xo --extension mdx ; stylelint '**/*.scss'"
},
"devDependencies": {
"@bauke/eslint-config": "workspace:*",
@ -17,12 +17,8 @@
"extends": "@bauke/stylelint-config"
},
"xo": {
"extensions": [
"astro",
"mdx",
"ts"
],
"extends": "@bauke/eslint-config",
"prettier": true,
"space": true
}
}