mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
47 lines
968 B
JSON
47 lines
968 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:astro/recommended"],
|
|
"plugins": ["prettier", "astro"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json",
|
|
"extraFileExtensions": [".astro"]
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.astro"],
|
|
"parser": "astro-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extraFileExtensions": [".astro"],
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"astro/no-conflict-set-directives": "error",
|
|
"astro/no-unused-define-vars-in-style": "error"
|
|
}
|
|
},
|
|
{
|
|
"files": ["**/*.astro/*.js", "*.astro/*.js"],
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|