# @lemoninternet/stylelint-config

> Stylelint shareable config

Latest version **0.0.4** (published 2020-04-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @lemoninternet/stylelint-config
pnpm add @lemoninternet/stylelint-config
yarn add @lemoninternet/stylelint-config
bun add @lemoninternet/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.0.4 |
| Published | 2020-04-14 |
| First published | 2018-11-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rick de Graaff |
| Maintainers | rickerd |
| Keywords | stylelint, stylelintconfig, config |

## Links

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

## Dependencies (3)

- [stylelint](https://npm.io/package/stylelint.md) ^9.2.0
- [stylelint-selector-bem-pattern](https://npm.io/package/stylelint-selector-bem-pattern.md) ^2.0.0
- [stylelint-config-sass-guidelines](https://npm.io/package/stylelint-config-sass-guidelines.md) ^6.0.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2020-04-14
- 0.0.3 — 2019-08-21
- 0.0.2 — 2018-11-19
- 0.0.1 — 2018-11-19

## README

# Stylelint Config

Currently only extends `stylelint-config-recommended`.

## Installing
` $ yarn add @lemoninternet/stylelint-config stylelint-config-recommended stylelint --dev `

## Usage

In your configuration set `extends` to use this package.

```json
{
    "extends": "@lemoninternet/stylelint-config"
}
```

### Package.json
```
"pre-commit": [
        "stylelint"
],
"scripts": {
        "stylelint": "node_modules/stylelint/bin/stylelint.js \"src/**/*.scss\""
},
```

### Loading the configuration object

Finding and loading of your configuration object is done with [cosmiconfig](https://github.com/davidtheclark/cosmiconfig). Starting from the current working directory, it will look for the following possible sources, in this order:

-   a `stylelint` property in `package.json`
-   a `.stylelintrc` file
-   a `stylelint.config.js` file exporting a JS object

The `.stylelintrc` file (without extension) can be in JSON or YAML format. Alternately, you can add a filename extension to designate JSON, YAML, or JS format: `.stylelintrc.json`, `.stylelintrc.yaml`, `.stylelintrc.yml`, `.stylelintrc.js`. You may want to use an extension so that your text editor can better interpret the file, and help with syntax checking and highlighting.

Once one of these is found and parsed, the search will stop and that object will be used.

The configuration search can be short-circuited by using either the `config` or `configFile` options.

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