Add separate XO calls for Astro and MDX.
This commit is contained in:
parent
bd9b879795
commit
d09f1c93f1
|
@ -3,7 +3,7 @@
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "xo && stylelint '**/*.scss'"
|
"lint": "xo --extension astro ; xo --extension mdx ; stylelint '**/*.scss'"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bauke/eslint-config": "workspace:*",
|
"@bauke/eslint-config": "workspace:*",
|
||||||
|
@ -17,12 +17,8 @@
|
||||||
"extends": "@bauke/stylelint-config"
|
"extends": "@bauke/stylelint-config"
|
||||||
},
|
},
|
||||||
"xo": {
|
"xo": {
|
||||||
"extensions": [
|
|
||||||
"astro",
|
|
||||||
"mdx",
|
|
||||||
"ts"
|
|
||||||
],
|
|
||||||
"extends": "@bauke/eslint-config",
|
"extends": "@bauke/eslint-config",
|
||||||
|
"prettier": true,
|
||||||
"space": true
|
"space": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue