2、设置 vscode 让其支持保存自动格式化、支持 React 语法
2、项目安装npm依赖包 这些包都可以安装到 devDependencies 也就是 npm i -D XXX 或者 yarn add...[2, {'vars': 'all', 'args': 'after-used'}], //不能有声明后未被使用的变量或参数
'no-underscore-dangle': 0, //标识符不能以...': 2, //switch中的case标签不能重复
'no-dupe-args': 2, //函数参数不能重复
'no-empty': 2, //块语句中的内容不能为空
'no-func-assign...或super
'no-undef': 2, //不能有未定义的变量
'no-use-before-define': 2, //未定义前不能使用
'camelcase': 0, /...2, //在JSX属性中强制或禁止等号周围的空格
'no-unreachable': 1, //不能有无法执行的代码
'comma-dangle': 2, //对象字面量项尾不能有逗号