Skip to content

iuap-design/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

用友大前端团队代码规范。

基于 eslint-config-standardeslint-config-standard-react

规则参见其官方文档 https://standardjs.com/rules-zhcn.html

使用说明

安装如下的依赖包:

npm install --save-dev @iuap/eslint-config eslint babel-eslint eslint-config-standard eslint-config-standard-react eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react

然后在 .eslintrc 文件中按如下方式配置:

{
  "parser": "babel-eslint",
  "extends": ["@iuap"]
}

About

ESLint config rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published