# @lough/stylelint-config

> @lough/stylelint-config

Latest version **0.1.4** (published 2023-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lough/stylelint-config
pnpm add @lough/stylelint-config
yarn add @lough/stylelint-config
bun add @lough/stylelint-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2023-06-25 |
| First published | 2022-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 37.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lough |
| Maintainers | anciity |
| Keywords | stylelint, css, less, scss, stylus |

## Links

- npm: https://www.npmjs.com/package/@lough/stylelint-config
- Repository: https://github.com/lough-city/lough-lint
- Homepage: https://github.com/lough-city/lough-lint#readme
- Issues: https://github.com/lough-city/lough-lint/issues
- npm.io page: https://npm.io/package/@lough/stylelint-config

## Dependencies (8)

- [stylelint](https://npm.io/package/stylelint.md) ^14.7.1
- [postcss-less](https://npm.io/package/postcss-less.md) ^6.0.0
- [postcss-scss](https://npm.io/package/postcss-scss.md) ^4.0.4
- [postcss-styl](https://npm.io/package/postcss-styl.md) ^0.9.0
- [stylelint-order](https://npm.io/package/stylelint-order.md) ^5.0.0
- [stylelint-config-prettier](https://npm.io/package/stylelint-config-prettier.md) ^8.0.2
- [stylelint-config-standard](https://npm.io/package/stylelint-config-standard.md) ^25.0.0
- [stylelint-declaration-block-no-ignored-properties](https://npm.io/package/stylelint-declaration-block-no-ignored-properties.md) ^2.5.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2023-06-25
- 0.1.3 — 2023-04-11
- 0.1.2 — 2023-02-22
- 0.1.1 — 2023-02-20
- 0.1.0 — 2022-06-23
- 0.0.9 — 2022-06-21
- 0.0.8 — 2022-06-19
- 0.0.6 — 2022-06-17
- 0.0.5 — 2022-06-17
- 0.0.4 — 2022-06-16
- 0.0.2 — 2022-06-16
- 0.0.1 — 2022-06-15

## README

# @lough/stylelint-config

> Stylelint extends configuration.

## Install

```bash
npm i @lough/stylelint-config -D
```

or

```bash
yarn add @lough/stylelint-config -D
```

## Usage

> 以下为手动安装步骤，自动安装可使用 [Cli](https://github.com/lough-city/lough-lint/tree/main/packages/cli)

- 新建 `.stylelintrc.js` 文件，用于配置 `stylelint` 检测

```js
module.exports = {
  extends: ['@lough/stylelint-config/react']
}
```

- 新建 `.stylelintignore` 文件，用于屏蔽 `stylelint` 检测

```ignore
node_modules
build
dist

*.tsx
*.ts
```

- 打开 `package.json` 文件，添加 `scripts`

```js
{
  "scripts": {
    "lint:style": "stylelint --config .stylelintrc.js ./**/*.{css,less,scss,styl}",
    "lint:style-fix": "stylelint --fix --config .stylelintrc.js ./**/*.{css,less,scss,styl}"
  }
}
```

---
_Source: https://npm.io/package/@lough/stylelint-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
