{
	"env": {
		"browser": true,
		"es2021": true,
		"node": true
	},
	"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
	"parser": "@typescript-eslint/parser",
	"parserOptions": {
		"ecmaVersion": "latest",
		"sourceType": "module"
	},
	"plugins": ["@typescript-eslint"],
	"rules": {
		"@typescript-eslint/no-inferrable-types": "warn",
		"@typescript-eslint/no-unused-vars": "warn",
		"lines-between-class-members": [
			"warn",
			{
				"enforce": [
					{
						"blankLine": "always",
						"prev": "method",
						"next": "method"
					}
				]
			}
		],
		"padding-line-between-statements": [
			"warn",
			{
				"blankLine": "always",
				"prev": "*",
				"next": ["if", "for", "while", "switch"]
			},
			{
				"blankLine": "always",
				"prev": ["if", "for", "while", "switch"],
				"next": "*"
			},
			{ "blankLine": "always", "prev": "*", "next": "block-like" },
			{ "blankLine": "always", "prev": "block-like", "next": "*" }
		]
	}
}
