open-index/open-npm huggingface dataset:
npm package: @pokemonon/eslint-config-formatter
Description: 使用vscode搭配eslint扩展。应用市场搜索 dbaeumer.vscode-eslint，或者通过命令安装 ```sh code --install-extension dbaeumer.vscode-eslint ``` ### 编辑器设置 `<rootPath>/.vscode/settings.json`
Latest version: 0.1.0-beta.13

## 环境
使用vscode搭配eslint扩展。应用市场搜索 dbaeumer.vscode-eslint，或者通过命令安装
```sh
code --install-extension dbaeumer.vscode-eslint
```
### 编辑器设置
`<rootPath>/.vscode/settings.json`

```json
{
  "editor.formatOnSave": false,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],

  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true // 保存时自动修复eslint
  }
}
```


## 安装
```sh
yarn add -D @pokemonon/eslint-config-formatter
```

## 配置

- [基础配置](#基础配置)
- [typescript配置](#typescript配置)
- [vue配置](#vue配置)

### 基础配置
javascript的基本规范
#### 依赖
- [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb)
- [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)
- [eslint-import-resolver-alias](https://www.npmjs.com/package/eslint-import-resolver-alias)


```js
module.exports = {
  root: true,
  extends: [
    '@pokemonon/formatter/common',
  ],
  settings: {
    'import/resolver': {
      // 如果需要配置别名
      alias: [
        ['@', `${__dirname}/src`],
      ],
    },
  },
}

```

### typescript配置
typescript的规范
#### 依赖
- [eslint-config-airbnb-typescript](https://www.npmjs.com/package/eslint-config-airbnb-typescript)
- [eslint-import-resolver-typescript](https://www.npmjs.com/package/eslint-import-resolver-typescript)


```js
module.exports = {
  root: true,
  extends: [
    '@pokemonon/formatter/common',
    '@pokemonon/formatter/typescript',
  ],
  parserOptions: {
    // @typescript-eslint/parse解析需要
    // 参考 https://www.npmjs.com/package/eslint-config-airbnb-typescript
    project: `${__dirname}/tsconfig.eslint.json`,
  },
  settings: {
    'import/resolver': {
      // https://www.npmjs.com/package/eslint-import-resolver-typescript
      // eslint-import-resolver-typescript
      // use paths defined in tsconfig.json
      typescript: {
        alwaysTryTypes: true,
        project: [
          `${__dirname}/tsconfig.json`,
        ],
      },
    },
  },
}
```

### vue配置
vue的配置
#### 依赖
- [vue-eslint-parser](https://www.npmjs.com/package/vue-eslint-parser)

Vue3&ts
```js
module.exports = {
  root: true,
  extends: [
    '@pokemonon/formatter/common',
    '@pokemonon/formatter/typescript',
    '@pokemonon/formatter/vue3',
  ],
  parserOptions: {
    extraFileExtensions: ['.vue'],
    project: `${__dirname}/tsconfig.eslint.json`,
  },
  settings: {
    'import/resolver': {
      // https://www.npmjs.com/package/eslint-import-resolver-typescript
      // eslint-import-resolver-typescript
      // use paths defined in tsconfig.json....
      typescript: {
        alwaysTryTypes: true,
        project: [
          `${__dirname}/tsconfig.json`,
        ],
      },
    },
  },
}
```

Vue2
```js
module.exports = {
  root: true,
  extends: [
    '@pokemonon/formatter/common',
    '@pokemonon/formatter/vue2',
  ],
}
```
npm package: @pokemonon/iohook
Description: ## instruction Implementing keyboard and mouse events listening by node.js
Latest version: 0.0.1-beta.4

# WIP

## instruction
Implementing keyboard and mouse events listening by node.js

## usage

### download
```
yarn add @pokemonon/iohook
```

### api
```
import { iohook } from '@pokemonon/iohook'

iohook.on(eventName, (eventData) => {})
iohook.start() // Promise
```

| eventName    | eventData |
| ------------ | --------- |
| keydown      |           |
| keyup        |           |
| keypress     |           |
| mousedown    |           |
| mouseup      |           |
| click        |           |
| mousemove    |           |
| mousedragged |           |
| mousewheel   |           |
npm package: @pokep/my-nuxt-layer
Description: Create Nuxt extendable layer with this GitHub template.
Latest version: 0.0.1

# Nuxt Layer Starter

Create Nuxt extendable layer with this GitHub template.

## Setup

Make sure to install the dependencies:

```bash
pnpm install
```

## Working on your layer

Your layer is at the root of this repository, it is exactly like a regular Nuxt project, except you can publish it on NPM.

The `.playground` directory should help you on trying your layer during development.

Running `pnpm dev` will prepare and boot `.playground` directory, which imports your layer itself.

## Distributing your layer

Your Nuxt layer is shaped exactly the same as any other Nuxt project, except you can publish it on NPM.

To do so, you only have to check if `files` in `package.json` are valid, then run:

```bash
npm publish --access public
```

Once done, your users will only have to run:

```bash
npm install --save your-layer
```

Then add the dependency to their `extends` in `nuxt.config`:

```ts
defineNuxtConfig({
  extends: 'your-layer'
})
```

## Development Server

Start the development server on http://localhost:3000

```bash
pnpm dev
```

## Production

Build the application for production:

```bash
pnpm build
```

Or statically generate it with:

```bash
pnpm generate
```

Locally preview production build:

```bash
pnpm preview
```

Checkout the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.