npm create vite@latest my-react-app --template react-tscd my-react-appnpm installnpm run dev
npm install redux react-redux --savenpm install --save-dev @redux-devtools/core
npm init @eslint/confignpm install -D eslint-plugin-react eslint-plugin-react-hooks eslint-config-airbnb
"extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:react/jsx-runtime", "plugin:import/recommended", "airbnb", "prettier" ],
"plugins": [ "react-hooks", "react" ],
"rules": { "react/react-in-jsx-scope": "off", "import/prefer-default-export": "off", "react/prop-types": 0, "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }], "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn" }
npm install -D --save-exact prettier eslint-config-prettierecho {}> .prettierrc.json
{ "trailingComma": "es5", "tabWidth": 4, "semi": true, "singleQuote": true }