{
	"ignorePatterns": ["vite.*.ts"],
	"root": true,
	"plugins": ["eslint-plugin-local-rules"],
	"extends": ["eslint:recommended", "plugin:import/recommended", "prettier"],
	"overrides": [
		{
			"files": ["**/*.ts"],
			"extends": [
				"eslint:recommended",
				"plugin:import/recommended",
				"plugin:import/typescript",
				"plugin:@typescript-eslint/eslint-recommended",
				"plugin:@typescript-eslint/recommended",
				"plugin:wc/recommended",
				"plugin:lit/recommended",
				"plugin:lit-a11y/recommended",
				"plugin:storybook/recommended",
				"prettier"
			],
			"parser": "@typescript-eslint/parser",
			"parserOptions": {
				"project": "./tsconfig.json",
				"tsconfigRootDir": "./",
				"ecmaVersion": "latest",
				"sourceType": "module"
			},
			"env": {
				"browser": true,
				"es2021": true
			},
			"rules": {
				"no-var": "error",
				"import/no-unresolved": "error",
				"import/order": "warn",
				"local-rules/bad-type-import": "error",
				"local-rules/no-direct-api-import": "warn",
				"local-rules/prefer-import-aliases": "warn",
				"@typescript-eslint/no-non-null-assertion": "off"
			},
			"settings": {
				"import/parsers": {
					"@typescript-eslint/parser": [".ts"]
				},
				"import/resolver": {
					"typescript": {
						"alwaysTryTypes": true,
						"project": "./tsconfig.json"
					}
				}
			}
		}
	]
}
