1
Fork 0
shareable-configs/packages/eslint/eslint.json

48 lines
869 B
JSON

{
"$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
}
],
"no-unused-vars": "off"
}
}
],
"rules": {
"no-await-in-loop": "off",
"quotes": [
"error",
"double"
]
}
}