open-index/open-npm huggingface dataset:
npm package: @pinos/eslint-config
Description: eslint-config
Author: eric
Latest version: 1.2.2

## eslint-config

### 🚀 Verify the following format files:

- js
- json
- markdown
- tailwindcss
- vue
- react
- ts
- yaml
- wxml

**eslint >=8.18.0**

### Install

```shell
pnpm add eslint @pinos/eslint-config -D
```

### Use

- create ```.eslintrc.cjs``` file in the project root directory
- config ```.eslintrc.cjs``` file

```js
module.exports = {
  extends: ['@pinos']
}

```

### With lint-staged

add config in the package.json；

```json
{
  "lint-staged": {
    "src/**/*.{js,cjs,mjs,jsx,vue,ts,tsx,cts,mts,json,yaml}": [
      "eslint --fix --max-warnings 0"
    ],
  }
}
```
npm package: @pinos/prettier-config
Description: prettier-config
Author: eric
Latest version: 1.0.0

## prettier-config

### Install

``` bash
pnpm add prettier @pinos/prettier-config -D
```

### Use

- create ```.prettierrc.cjs``` file in the project root directory
- config ```.prettierrc.cjs``` file

```js
module.exports = {
  ...require('@pinos/prettier-config')

  // The following declaration can override the default configuration above
}
```

### The default configuration is as follows:

```js
module.exports = {
  printWidth: 80,
  tableWidth: 2,
  useTabs: false,
  semi: false,
  singleQuote: true,
  quoteProps: 'as-needed',
  jsxSingleQuote: true,
  trailingComma: 'none',
  bracketSpacing: true,
  bracketSameLine: false,
  proseWrap: 'preserve',
  vueIndentScriptAndStyle: false,
  endOfLine: 'lf',
  arrowParens: 'always',
  embeddedLanguageFormatting: 'auto' // v2.1.0 可用
}
```
npm package: @pinos/stylelint-config
Description: stylelint-config
Author: eric
Latest version: 1.1.1

## stylelint-config

### Install

```shell
pnpm add stylelint postcss-html postcss @pinos/stylelint-config -D
```

**postcss >=8.0.0**

### 使用

- create ```stylelint.config.cjs``` file in the project root directory
- config ```stylelint.config.cjs``` file

```js
module.exports = {
  extends: '@pinos/stylelint-config'
}

```

### With lint-staged

add config in the package.json；

```json
{
  "lint-staged": {
    "src/**/*.{css,scss}": [
      "stylelint --fix --max-warnings 0"
    ]
  }
}
```