2022-12-02 10:47:58 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://json.schemastore.org/eslintrc.json",
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"plugin:astro/recommended"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"**/*.astro"
|
|
|
|
],
|
|
|
|
"parser": "astro-eslint-parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"extraFileExtensions": [
|
|
|
|
".astro"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"unicorn/text-encoding-identifier-case": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"plugin:mdx/recommended"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"**/*.mdx"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-unused-expressions": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"enforceForJSX": false
|
|
|
|
}
|
2022-12-03 17:22:19 +00:00
|
|
|
],
|
|
|
|
"no-unused-vars": "off"
|
2022-12-02 10:47:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"double"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|