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

49 lines
894 B
JSON
Raw Permalink 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": {
2024-01-15 12:41:10 +00:00
"complexity": "off",
2023-06-06 12:12:58 +00:00
"no-await-in-loop": "off",
2022-12-02 10:47:58 +00:00
"quotes": [
"error",
"double"
]
}
}