{
	"env": {
		"es6": true,
		"node": true,
		"browser": true
	},
	"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:astro/recommended"],
	"plugins": ["prettier", "astro"],
	"parserOptions": {
		"sourceType": "module"
	},
	"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"
			}
		}
	]
}
