这个是按照官方的教程进行配置的
教程地址:https://eslint.org/docs/latest/extend/shareable-configs
https://eslint.org/docs/latest/rules/
https://typescript-eslint.io/rules/indent/
https://github.com/jsx-eslint/eslint-plugin-react
用于关闭所有不必要的规则或可能与 Prettier 冲突的规则。
https://prettier.io/docs/en/options.html
需要以下依赖
eslint-plugin-prettier、prettier、eslint-config-prettier