open-index/open-npm huggingface dataset:
npm package: @haidong2099/payload-plugin-collection-docs-order
Description: A Payload plugin that allows dragging to order your collections in the Payload admin panel.
Author: dev@payloadcms.com
Latest version: 1.0.9

# Payload Plugin: Drag-to-Order Collections

A Payload CMS plugin that allows you to drag and reorder your collections directly in the Payload admin panel.

This plugin adds an easy-to-use feature for managing the order of collections. When you drag and drop items within the collection, it automatically updates an `Order Number` field for each collection, ensuring that the order is consistently reflected across the admin panel.

To use this plugin, you’ll need:

* Basic knowledge of Payload CMS concepts.
* Some JavaScript/TypeScript experience.

## Background

This plugin integrates seamlessly with Payload CMS, providing a drag-and-drop interface to reorder collections. For more details on integrating plugins with Payload, check out the [plugin overview page](https://payloadcms.com/docs/plugins/overview).

### How to install the plugin

To install the **drag-to-order** plugin, run the following command to download from [NPM](https://www.npmjs.com/package/@extravirgin/payload-plugin-collection-docs-order)

```sh
npm i @extravirgin/payload-plugin-collection-docs-order
```

 Then simply add it to the `plugins` array in your `payload.config.ts`.

```ts
import { docsOrder } from '@extravirgin/payload-plugin-collection-docs-order';

export const config = buildConfig({
  plugins: [
    docsOrder({
      collections: ['collection-slug1', 'collection-slug2'],
      enabled: true,
    }),
  ]
});
npm package: @haifeng-fe/eslint-config
Description: Eslint for HaiFengFE
Author: HaiFengFE
Latest version: 1.0.1

> ESLint config for haifengfe


#### Getting Started

1. Install: `yarn add @haifeng-fe/eslint-config -D`.

2. Usage in your .eslintrc:

    ```
    { "extends": "@haifeng-fe/eslint-config" }
    ```

    **OR**, if you are using the .yml:
    ```yml
    extends:
      - '@haifeng-fe/eslint-config'
    ```

3. Use in Vue:
    ```
    { "extends": "@haifeng-fe/eslint-config/vue" }
    ```

    **OR**, if you are using the .yml:
    ```yml
    extends:
      - '@haifeng-fe/eslint-config/vue'
    ```


#### LICENSE

**MIT**