@alicd/crui-form-item
Version:
@alicd/next 中 Form.Item 组件能力的扩展,增加了错误的提示方式 showValidateType ,其他能力和 Form.Item 保持一致,必须放置在 Form 元素中
24 lines (23 loc) • 526 B
Plain Text
{
// "extends": "eslint-config-ais/react",
"rules":{
//去除了react 模块 属性或者方法的 按照字母顺序排序规则
"react/sort-comp": 1,
//去除了 不能 new Function 的规则
"no-new-func": 1,
"no-prototype-builtins": 1,
"prefer-rest-params": 1,
"object-curly-spacing": 0,
"no-useless-constructor": 0,
"react/forbid-prop-types": 0
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [
"react"
]
}