{
    "root": true,
    "env": {
        "browser": true,
        "node": true,
        "es2020": true
    },
    "parserOptions": {
        "ecmaVersion": "latest",
        "sourceType": "module"
    },

    "parser": "@typescript-eslint/parser",
    "plugins": [
        "@typescript-eslint",
        "react-refresh",
        "prettier",
        "simple-import-sort"
    ],
    "extends": [
        "eslint:recommended",
        "plugin:@typescript-eslint/recommended",
        "plugin:react-hooks/recommended",
        "plugin:prettier/recommended"
    ],
    "rules": {
        "prettier/prettier": "error",
        "react-refresh/only-export-components": "warn",
        "simple-import-sort/imports": "error",
        "simple-import-sort/exports": "error"
    }
}
