mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:astro/recommended",
|
|
"plugin:svelte/recommended"
|
|
],
|
|
"plugins": ["prettier", "astro"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json",
|
|
"extraFileExtensions": [".astro", ".svelte"]
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.svelte"],
|
|
"parser": "svelte-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser"
|
|
}
|
|
}
|
|
]
|
|
}
|