# stylelint-config-dabapps

> DabApps stylelint config

Latest version **0.0.1** (published 2020-01-28) · BSD license · 0 weekly downloads

## Install

```sh
npm install stylelint-config-dabapps
pnpm add stylelint-config-dabapps
yarn add stylelint-config-dabapps
bun add stylelint-config-dabapps
```

## 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.0.1 |
| Published | 2020-01-28 |
| First published | 2020-01-28 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | DabApps |
| Maintainers | dabapps |
| Keywords | stylelint, dabapps, config, lint, css, less |

## Links

- npm: https://www.npmjs.com/package/stylelint-config-dabapps
- npm.io page: https://npm.io/package/stylelint-config-dabapps

## Dependencies (1)

- [stylelint-config-prettier](https://npm.io/package/stylelint-config-prettier.md) ^8.0.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-01-28

## README

# Stylelint Config [![Build Status](https://travis-ci.com/dabapps/stylelint-config-dabapps.svg?token=pRsE3T5hj63zJ5wztHc8&branch=master)](https://travis-ci.com/dabapps/stylelint-config-dabapps)

## About
This repository includes a default stylelint config.

## Install

Install a specific version of the stylelint config with NPM. you can see a full list of versions [here](https://github.com/dabapps/stylelint-config-dabapps/releases).
```
npm i stylelint-config-dabapps@x.x.x --save-dev
```
This will update your package.json automatically.
```
"devDependencies": {
  "stylelint-config-dabapps": "x.x.x"
}
```

# Configuration

## NPM Scripts
Add the following script to your frontend tests in the project's package.json:
```
{
  "scripts": {
    "lint-css": "stylelint 'src/less/**/*.less'"
    "lint": npm run lint-css && ...,
  }
}
```

## Default Config

Create a `.stylelintrc.json` file in the root directory of the project. For most projects you can just stick the default config in there:
```
{
  "extends": "stylelint-config-dabapps"
}
```

## Custom Config

Usually in older projects you might need to disable some [rules](https://stylelint.io/user-guide/rules). You can do this by setting the specific rules you want to disable to `null` (or overriding the value) in the "rules" config:
```
{
  "extends": "stylelint-config-dabapps",
  "rules": {
    "unit-blacklist": null,
    "max-nesting-depth": 10,
  }
}
```

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