codelambs
1.0.0
该模板提供了最小的设置,以通过HMR和一些ESLINT规则在VITE中进行反应。
目前,有两个官方插件:
如果您正在开发生产应用程序,我们建议更新配置以启用类型的意识棉布规则:
parserOptions属性: parserOptions : {
ecmaVersion : 'latest' ,
sourceType : 'module' ,
project : [ './tsconfig.json' , './tsconfig.node.json' ] ,
tsconfigRootDir : __dirname ,
} ,plugin:@typescript-eslint/recommended到plugin:@typescript-eslint/recommended-type-checked plugin:@typescript-eslint/strict-type-checkedplugin:@typescript-eslint/stylistic-type-checkedplugin:react/recommended和plugin:react/jsx-runtime到extends名单列表