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

48 lines
869 B
JSON
Raw Normal View History

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": {
2023-06-06 12:12:58 +00:00
"no-await-in-loop": "off",
2022-12-02 10:47:58 +00:00
"quotes": [
"error",
"double"
]
}
}