open-index/open-npm huggingface dataset:
npm package: @kc-components/basic
Description: 基础组件
Author: kincy
Latest version: 2.0.0

# @kc-components/basic

## Usage

```

import { Input } from 'antd';
import { JsonSchemaForm } from '@kc-components/basic';
import { JsonSchemaFormItemType } from '@kc-components/basic/JsonSchemaForm/type';

const schema: JsonSchemaFormItemType[] = [
  {
    $type: 'input',
    formItemProps: {
      label: '用户名',
      name: 'username',
    },
    placeholder: '请输入用户名',
  },
  {
    $type: 'password',
    formItemProps: {
      label: '密码',
      name: 'password',
    },
    placeholder: '请输入用户名',
  },
];

export default () => {
  return (
    <JsonSchemaForm
      schema={schema}
      formProps={{
        onFinish(values) {
          console.log('values---', values);
        },
      }}
    />
  );
};
```
npm package: @kc-one/eslint-config
Description: eslint config
Latest version: 2.0.6

# ESLint
## 使用
### 默认规则
开箱即用的vue3 + ts ESLint校验，注意使用eslint 8的版本，未使用9的flag config
```
npm i eslint@8.57.0 @kc-one/eslint-config --save-dev
```
创建`.eslintrc.js`在你项目的跟目录，复制下面代码
```
module.exports = {
  extends: ['@kc-one']
};

```