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

49 lines
894 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": {
"complexity": "off",
"no-await-in-loop": "off",
"quotes": [
"error",
"double"
]
}
}